File: rules

package info (click to toggle)
cflow 1%3A1.6-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,432 kB
  • sloc: sh: 8,919; ansic: 5,765; lex: 461; xml: 321; lisp: 213; makefile: 172; awk: 87; sed: 16
file content (16 lines) | stat: -rwxr-xr-x 437 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

XSL = http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
XSLTPROC = xsltproc --nonet --param man.charmap.use.subset 0

export DEB_BUILD_MAINT_OPTIONS=hardening=+all
include /usr/share/dpkg/default.mk
export CFLAGS  += $(shell getconf LFS_CFLAGS)
export LDFLAGS += $(shell getconf LFS_LDFLAGS)

%:
	dh $@

override_dh_installdocs:
	$(XSLTPROC) -o debian/ $(XSL) debian/manpage.xml
	dh_installdocs