fix for unused..

This commit is contained in:
Ertuğrul Erata
2016-02-13 19:24:26 +02:00
parent 01f5a0732b
commit e74bd62e2b
+5 -10
View File
@@ -13,7 +13,9 @@ def setup():
shelltools.system("sed -i 's:cups_sbindir=\"\/usr\/sbin\":cups_sbindir=\"\/usr\/bin\":g' m4/stp_cups.m4") shelltools.system("sed -i 's:cups_sbindir=\"\/usr\/sbin\":cups_sbindir=\"\/usr\/bin\":g' m4/stp_cups.m4")
shelltools.system("sed -i 's:cups_sbindir=\"\${cups_prefix}\/sbin\":cups_sbindir=\"\${cups_prefix}\/bin\":' m4/stp_cups.m4") shelltools.system("sed -i 's:cups_sbindir=\"\${cups_prefix}\/sbin\":cups_sbindir=\"\${cups_prefix}\/bin\":' m4/stp_cups.m4")
shelltools.system("sed -i 's:m4local:m4extra:' Makefile.am") shelltools.system("sed -i 's:m4local:m4extra:' Makefile.am")
autotools.autoreconf("-fi") autotools.autoreconf("-fi")
autotools.configure("--prefix=/usr \ autotools.configure("--prefix=/usr \
--sbindir=/usr/bin \ --sbindir=/usr/bin \
--enable-samples \ --enable-samples \
@@ -24,18 +26,11 @@ def setup():
--disable-static \ --disable-static \
--disable-static-genppd") --disable-static-genppd")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build(): def build():
autotools.make() autotools.make()
def install(): def install():
autotools.rawInstall("DESTDIR=%s install" % get.installDIR()) autotools.rawInstall("DESTDIR=%s install" % get.installDIR())
#pisitools.dohtml("%s/usr/share/gutenprint/doc/reference-html/*" % get.installDIR())
#pisitools.removeDir("/usr/share/gutenprint/doc/")
#pisitools.removeDir("/usr/include/gutenprintui2")
# FIXME: Remove command.types, check if any other file exists
#pisitools.removeDir("/etc/")
#pisitools.remove("/usr/share/foomatic/kitload.log")