File: rules

package info (click to toggle)
m4 1.4.18-5
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 12,488 kB
  • sloc: ansic: 80,099; sh: 8,203; cpp: 1,334; lisp: 243; makefile: 143
file content (24 lines) | stat: -rwxr-xr-x 464 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
#!/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_autoreconf:

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