File: rules

package info (click to toggle)
ed2k-hash 0.3.3%2Bdeb2-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,404 kB
  • ctags: 163
  • sloc: sh: 8,351; ansic: 1,077; perl: 283; makefile: 40
file content (23 lines) | stat: -rwxr-xr-x 500 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
# export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with autoreconf

override_dh_clean:
	rm -f config.guess config.log config.sub install-sh missing
	if [ -f configure.ac ]; then mv -f configure.ac configure.in; fi
	dh_clean

override_dh_autoreconf:
	mv -f configure.in configure.ac
	dh_autoreconf

override_dh_auto_configure:
	ln -s admin/config.guess .
	ln -s admin/config.sub .
	ln -s admin/install-sh .
	ln -s admin/missing .
	dh_auto_configure