File: rules

package info (click to toggle)
libpuzzle 0.11-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,056 kB
  • ctags: 386
  • sloc: sh: 9,692; ansic: 1,811; makefile: 959; php: 269; sql: 148
file content (26 lines) | stat: -rwxr-xr-x 759 bytes parent folder | download
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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

DEB_DH_INSTALL_DIR=$(CURDIR)/debian/tmp

libpuzzle-build-stamp:
	dh_auto_build
	touch $@

override_dh_auto_build:
	pod2man --center "" --date "" --release "" --section=1 \
		debian/manpages/puzzle-diff.pod -o debian/puzzle-diff.1
	pod2man --center "" --date "" --release "" --section=3 \
		debian/manpages/libpuzzle.pod   -o debian/libpuzzle.3
	pod2man --center "" --date "" --release "" --section=3 \
		debian/manpages/puzzle_set.pod  -o debian/puzzle_set.3

override_dh_auto_clean:
	dh_auto_clean
	rm -f debian/puzzle-diff.1 debian/libpuzzle.3 debian/puzzle_set.3
	find $(CURDIR) -name Makefile | xargs rm -f

%:
	dh $@ --with autoreconf