File: rules

package info (click to toggle)
wfmath 0.3.12-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,364 kB
  • sloc: sh: 10,991; cpp: 8,597; makefile: 101
file content (25 lines) | stat: -rwxr-xr-x 491 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
24
25
#!/usr/bin/make -f

%:
	dh $@ --parallel --with autoreconf

override_dh_install:
	dh_install --fail-missing -X.la -X.a

override_dh_auto_build-indep:
	$(MAKE) -C doc docs

override_dh_auto_clean:
	rm -rf doc/html doc/latex doc/man
	dh_auto_clean

override_dh_strip:
	set -e; \
	for pkg in $(patsubst %-dbg,%,$(filter %-dbg,$(shell dh_listpackages))); do \
		dh_strip -p$${pkg} --dbg-package=$${pkg}-dbg; \
	done
	dh_strip -s --remaining-packages

override_dh_builddeb:
	dh_builddeb -- -Zxz