File: rules

package info (click to toggle)
phast 1.8%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,124 kB
  • sloc: ansic: 54,214; makefile: 370; sh: 348; perl: 321
file content (25 lines) | stat: -rwxr-xr-x 424 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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_clean:
	dh_auto_clean
	cd src \
	&& $(MAKE) clean

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	cd test \
	&& PATH=$(CURDIR)/bin:$(PATH) \
		$(MAKE) msa_view
endif

override_dh_installexamples:
	dh_installexamples
	find debian/*/usr/share/doc/*/examples \
		-type f \
		-size +1k \
		-exec xz \{\} \;