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 28 29 30 31
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@
override_dh_auto_build:
make patch
make CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
override_dh_auto_install:
$(MAKE) DESTDIR=$(CURDIR)/debian/profnet-bval prefix=/usr install-bval
$(MAKE) DESTDIR=$(CURDIR)/debian/profnet-chop prefix=/usr install-chop
$(MAKE) DESTDIR=$(CURDIR)/debian/profnet-con prefix=/usr install-con
$(MAKE) DESTDIR=$(CURDIR)/debian/profnet-isis prefix=/usr install-isis
$(MAKE) DESTDIR=$(CURDIR)/debian/profnet-md prefix=/usr install-md
$(MAKE) DESTDIR=$(CURDIR)/debian/profnet-norsnet prefix=/usr install-norsnet
$(MAKE) DESTDIR=$(CURDIR)/debian/profnet-prof prefix=/usr install-prof
$(MAKE) DESTDIR=$(CURDIR)/debian/profnet-snapfun prefix=/usr install-snapfun
$(MAKE) DESTDIR=$(CURDIR)/debian/profphd-net prefix=/usr install-phd
override_dh_shlibdeps:
dh_shlibdeps
for i in $$(sed -n '/^Package: / s///p' debian/control); do \
cat debian/Description >> debian/$$i.substvars; \
done;
|