1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
%:
dh $@
override_dh_auto_build:
dh_auto_build -- prefix=/usr CFLAGS="$(CFLAGS) $(CPPFLAGS) $(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" XSLTFLAGS="--nonet"
override_dh_auto_install:
$(MAKE) DESTDIR=debian/tmp prefix=/usr install
override_dh_installchangelogs:
dh_installchangelogs RELEASES
override_dh_auto_clean:
dh_auto_clean
rm -f doc/gpscorrelate-manpage.xml gpscorrelate gpscorrelate-gui gpscorrelate.1
|