File: rules

package info (click to toggle)
diffutils 1%3A3.7-5
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 14,784 kB
  • sloc: ansic: 73,660; sh: 10,159; perl: 450; makefile: 218; sed: 16
file content (26 lines) | stat: -rwxr-xr-x 506 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
%:
	dh $@

package = diffutils

override_dh_autoreconf:

override_dh_auto_build:
	dh_auto_build
	$(MAKE) -C po update-gmo

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

override_dh_auto_configure:
	dh_auto_configure -- --disable-silent-rules

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

override_dh_installdocs-arch:
	dh_installdocs -a NEWS