File: rules

package info (click to toggle)
sharutils 1%3A4.15.2-13
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,068 kB
  • sloc: ansic: 53,545; sh: 6,939; makefile: 731; yacc: 291; sed: 16
file content (25 lines) | stat: -rwxr-xr-x 570 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f
%:
	dh $@

package = sharutils

export DEB_BUILD_MAINT_OPTIONS = hardening=-format
export DEB_CFLAGS_MAINT_APPEND = -std=c17

override_dh_auto_clean:
	dh_auto_clean
	rm -rf doc/$(package)

override_dh_auto_configure:
	dh_auto_configure -- POSIX_SHELL=/bin/bash

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 README TODO NEWS THANKS

override_dh_installchangelogs:
	dh_installchangelogs --no-trim