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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
include /usr/share/dpkg/default.mk
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
MANPAGES=hist.1 \
loki_count.1 \
loki_dist.1 \
loki_ext.1 \
loki_freq.1 \
loki_sort_error.1 \
prep.1 \
qavg.1
%:
dh $@
override_dh_auto_configure-arch:
dh_auto_configure -- --exec_prefix=$(CURDIR)/debian/loki/usr
override_dh_auto_configure-indep:
override_dh_auto_install-arch:
dh_auto_install -a
make install prefix=$(CURDIR)/debian/loki/usr bindir=$(CURDIR)/debian/loki/usr/bin LDFLAGS="$(LDFLAGS)"
override_dh_installman-arch:
dh_installman -a
for man in $(MANPAGES) ; do \
ln -s loki.1.gz debian/$(DEB_SOURCE)/usr/share/man/man1/$${man}.gz ; \
done
override_dh_auto_build-indep:
override_dh_auto_install-indep:
override_dh_auto_test-arch:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
cd test; if [ -f Makefile ] ; then make ; fi
endif
|