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
|
#!/usr/bin/make -f
PACKAGE = fcrackzip
BINDIR = debian/$(PACKAGE)/usr/bin
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%:
dh $@ --with autoreconf
man:
$(MAKE) -C debian -f pod2man.mk PACKAGE=$(PACKAGE)info makeman
override_dh_auto_test:
# Skip tests, because:
# fcrackzip --benchmark
# /bin/bash: fcrackzip: command not found
override_dh_auto_install: man
dh_auto_install
# As a program called zipinfo is already present in the
# "unzip" package, rename to fcrackzipinfo
mv $(BINDIR)/zipinfo $(BINDIR)/fcrackzipinfo
override_dh_installchangelogs:
dh_installchangelogs NEWS
.PHONY: man
|