File: rules

package info (click to toggle)
m4 1.4.21-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 22,912 kB
  • sloc: ansic: 141,792; sh: 15,054; cpp: 2,283; lisp: 243; makefile: 169; sed: 16
file content (32 lines) | stat: -rwxr-xr-x 644 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
27
28
29
30
31
32
#!/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

execute_before_dh_auto_test:
ifeq ($(DEB_BUILD_ARCH),hppa)
	rm -f checks/stackovf.test
endif

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

override_dh_installdocs-arch:
	dh_installdocs -a NEWS README TODO THANKS

override_dh_installchangelogs:
	dh_installchangelogs --no-trim