File: rules

package info (click to toggle)
smartdns 46.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,712 kB
  • sloc: ansic: 35,796; cpp: 7,592; sh: 2,633; javascript: 1,614; makefile: 207
file content (24 lines) | stat: -rwxr-xr-x 478 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
#!/usr/bin/make -f

include /usr/share/dpkg/default.mk

export VER=$(DEB_VERSION)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ -Smakefile

override_dh_auto_test:
	:

override_dh_auto_install:
	$(SHELL) debian/qr-regen.sh
	cp -v alipay_donate.jpg doc/
	cp -v wechat_donate.jpg doc/
	:

override_dh_auto_clean:
	dh_auto_clean
	# this fixes FTBFS twice in a row #1047008
	-$(RM) alipay_donate.jpg wechat_donate.jpg
	-$(RM) doc/alipay_donate.jpg doc/wechat_donate.jpg