File: rules

package info (click to toggle)
quicktree 2.5-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 384 kB
  • sloc: ansic: 2,135; makefile: 63; sh: 12
file content (19 lines) | stat: -rwxr-xr-x 489 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
export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@

override_dh_auto_build:
	sed -i 's/expexted/expected/' src/tree.c
	sed -i 's/optio\\n/option/' src/quicktree.c	
	dh_auto_build
	help2man -i debian/quicktree.htm --no-discard-stderr ./quicktree > quicktree.1

override_dh_auto_clean:
	dh_auto_clean
	rm -f quicktree.1
	rm -f libquicktree.a