Mercurial > gub
changeset 74:9383ec948ce1
use DESTDIR= by default iso. overriding every variable.
author | hanwen <hanwen@xs4all.nl> |
---|---|
date | Thu, 01 Dec 2005 01:08:43 +0100 |
parents | 070439269248 |
children | 2fb0d16c0924 |
files | specs/gub.py |
diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/specs/gub.py Thu Dec 01 01:08:19 2005 +0100 +++ b/specs/gub.py Thu Dec 01 01:08:43 2005 +0100 @@ -337,7 +337,9 @@ # no packages for now # return self.settings.systemdir + '/usr' - def install_command (self): + def broken_install_command (self): + "For packages that don't honor DESTDIR." + return join_lines ('''make install bindir=%(installdir)s/bin aclocaldir=%(installdir)s/share/aclocal @@ -353,7 +355,10 @@ sysconfdir=%(installdir)s/etc tooldir=%(installdir)s ''') - + + def install_command (self): + return join_lines ('''make DESTDIR=%(installdir)s install''') + def config_cache (self): self.system ('mkdir -p %(builddir)s') cache_fn = self.builddir () + '/config.cache'