summaryrefslogtreecommitdiff
path: root/site_scons
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2010-04-25 17:44:27 -0700
committerDaniel Burrows <dburrows@debian.org>2010-04-25 17:44:27 -0700
commit1ba8b0d2f9bc569a34796fdae8b71587df857c6b (patch)
tree9e7128a3cf78d99aa89f49f77a650d065b5dc1e7 /site_scons
parentfbfcf309bb75e7cb7f67dd7f15e6e023d120a743 (diff)
downloadaptitude-1ba8b0d2f9bc569a34796fdae8b71587df857c6b.tar.gz
Use File() to ensure that we can get at the documentation sources even in the case of variant build directories.
Diffstat (limited to 'site_scons')
-rw-r--r--site_scons/site_tools/aptitude_doc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/site_scons/site_tools/aptitude_doc.py b/site_scons/site_tools/aptitude_doc.py
index e8e8706b..fde544ea 100644
--- a/site_scons/site_tools/aptitude_doc.py
+++ b/site_scons/site_tools/aptitude_doc.py
@@ -239,7 +239,7 @@ to distribute.'''
translated_mainfile = None
else:
translated_mainfile = env.Po4A('aptitude.xml',
- '../en/aptitude.xml',
+ File('../en/aptitude.xml'),
pofile,
addendum = add,
percent_translated = main_percent_translated,
@@ -250,7 +250,7 @@ to distribute.'''
translated_manpage = None
else:
translated_manpage = env.Po4A('manpage.xml',
- '../en/manpage.xml',
+ File('../en/manpage.xml'),
pofile,
percent_translated = manpage_percent_translated,
master_charset = master_charset,