File: rules

package info (click to toggle)
squizz 0.99d%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 6,784 kB
  • sloc: sh: 4,825; ansic: 2,640; lex: 1,992; yacc: 1,650; makefile: 127
file content (23 lines) | stat: -rwxr-xr-x 520 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
# debian/rules file for squizz

#export DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	dh_auto_test --no-parallel
endif

override_dh_missing:
	# Remove un-needed html and la files
	find debian/tmp -name '*.la' | xargs rm -rf
	find debian/tmp -name '*.html' | xargs rm -rf
	dh_missing