File: rules

package info (click to toggle)
delta 2006.08.03-8
  • links: PTS
  • area: main
  • in suites: buster, sid
  • size: 352 kB
  • sloc: perl: 502; makefile: 61; sh: 42; ansic: 11
file content (19 lines) | stat: -rwxr-xr-x 402 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

DELTAPATH=debian/delta/usr/bin

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- CFLAGS="$(CFLAGS) $(CPPFLAGS) $(LDFLAGS)"
	# Build manpages:
	for i in $$(ls debian/manpages/*.pod | cut -d'.' -f1); do \
	    pod2man -c '' -r 'Delta 2006.08.03' $$i.pod > $$i.1; \
	done

override_dh_auto_test:
	cp delta singledelta
	dh_auto_test