File: rules

package info (click to toggle)
m4 1.4.18-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 11,892 kB
  • sloc: ansic: 80,099; sh: 8,203; cpp: 1,334; lisp: 243; makefile: 142
file content (22 lines) | stat: -rwxr-xr-x 439 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

package = m4

export DEB_BUILD_MAINT_OPTIONS=hardening=-format

%:
	dh $@

override_dh_auto_clean:
	[ ! -f Makefile ] || $(MAKE) distclean
	rm -rf doc/$(package)

override_dh_auto_configure:
	dh_auto_configure -- --disable-rpath

override_dh_installdocs-indep:
	cd doc && makeinfo --html $(package).texi
	dh_installdocs -i doc/$(package)/*.html

override_dh_installdocs-arch:
	dh_installdocs -a NEWS README TODO THANKS