summaryrefslogtreecommitdiff
path: root/debian/rules
blob: a46e01332b4c5e27dea2a1081cf20fa278ea4772 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

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

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with autoreconf

override_dh_clean:
	dh_clean
	$(RM) -r scripts/Makefile src/Makefile tech/Makefile config.log config.status Makefile
	$(RM) -r tech/osu018/Makefile tech/osu035/Makefile tech/osu050/Makefile

override_dh_auto_install:
	dh_auto_install
	# delete non-script from scripts directory:
	$(RM) debian/tmp/usr/lib/qflow/scripts/qflow_help.txt