diff options
Diffstat (limited to 'attoconf/lib/install.py')
-rw-r--r-- | attoconf/lib/install.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/attoconf/lib/install.py b/attoconf/lib/install.py index b3eb989..1a55c29 100644 --- a/attoconf/lib/install.py +++ b/attoconf/lib/install.py @@ -35,7 +35,8 @@ def prefix(build, PREFIX): def exec_prefix(build, EPREFIX): if EPREFIX is None: PREFIX = build.vars['PREFIX'] - build.vars['EPREFIX'] = PREFIX + build.vars['EXEC_PREFIX'] = PREFIX + build.vars['EPREFIX'] = build.vars['EXEC_PREFIX'] def bindir(build, DIR): if DIR is None: @@ -182,7 +183,8 @@ class Install(ClassyProject): type=filepath, check=exec_prefix, help='install architecture-dependent files in EPREFIX', hidden=False, - var='EPREFIX', help_def='PREFIX') + help_var='EPREFIX', help_def='PREFIX') + self.order.append('EPREFIX') self.order.append(None) self.add_help('Fine tuning of the installation directories:', |