File: rules

package info (click to toggle)
transcalc 0.14-7
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 1,156 kB
  • sloc: ansic: 5,092; sh: 2,643; makefile: 96
file content (23 lines) | stat: -rwxr-xr-x 653 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
#!/usr/bin/make -f

#export DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_build:
	dh_auto_build
	[ -e docs/transcalc.1.d-r-orig ] || cp -p docs/transcalc.1 docs/transcalc.1.d-r-orig
	docbook-to-man docs/transcalc.sgml > docs/transcalc.1

override_dh_auto_install:
	dh_auto_install
	mkdir -p debian/transcalc/usr/share/doc/transcalc/examples
	mv -f debian/transcalc/usr/share/transcalc/examples \
	      debian/transcalc/usr/share/doc/transcalc/
	[ ! -e docs/transcalc.1.d-r-orig ] || mv docs/transcalc.1.d-r-orig docs/transcalc.1

# overriding since there is no tests in the package
override_dh_auto_test: