File: rules

package info (click to toggle)
concalc 0.9.3-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 632 kB
  • sloc: cpp: 7,699; makefile: 14
file content (19 lines) | stat: -rwxr-xr-x 432 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_installman:
	rm -rf debian/*/usr/man
	gunzip --keep man/*.1.gz
	patch -p1 < debian/patches/hyphens.diff
	patch -p1 < debian/patches/concalc.1.diff
	dh_installman man/*.1
	rm man/*.1

override_dh_auto_install:
	dh_auto_install
	mv $(CURDIR)/debian/concalc/usr/local/bin $(CURDIR)/debian/concalc/usr/
	rm -rf $(CURDIR)/debian/concalc/usr/local