1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
CFLAGS+=$(CPPFLAGS)
CXXFLAGS+=$(CPPFLAGS)
LDFLAGS += -Wl,--as-needed
debian_destdir :=$(CURDIR)/debian/gpick/usr
%:
dh $@
override_dh_clean:
dh_testdir
dh_testroot
scons -c -C src
find -name "*.pyc" -delete
rm -f build-stamp configure-stamp
rm -rf .sconsign.dblite config.log .sconf_temp/ build/
dh_clean
override_dh_install:
scons install DESTDIR=$(debian_destdir)
rm -f $(debian_destdir)/share/doc/copyright
rm -f $(debian_destdir)/share/man/man1/gpick.1
|