File: rules

package info (click to toggle)
fcrackzip 1.0-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 632 kB
  • sloc: ansic: 2,723; sh: 743; makefile: 121; perl: 81
file content (32 lines) | stat: -rwxr-xr-x 710 bytes parent folder | download | duplicates (2)
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
#!/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

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

%:
	dh $@

.PHONY: man

# End of file