File: rules

package info (click to toggle)
diffutils 1%3A3.8-4
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 14,768 kB
  • sloc: ansic: 87,035; sh: 11,452; perl: 450; makefile: 214; sed: 16
file content (21 lines) | stat: -rwxr-xr-x 446 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
#!/usr/bin/make -f
%:
	dh $@

package = diffutils

# override_dh_autoreconf:

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

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

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

override_dh_installdocs-arch:
	dh_installdocs -a NEWS