File: rules

package info (click to toggle)
libasyncns 0.8-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 1,608 kB
  • ctags: 252
  • sloc: sh: 10,150; ansic: 1,261; makefile: 64
file content (26 lines) | stat: -rwxr-xr-x 600 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
26
#!/usr/bin/make -f
# -*- makefile -*-

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

export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed

%:
	dh  $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --docdir=/usr/share/doc/libasyncns-dev

override_dh_auto_build:
	dh_auto_build
	make -C doxygen doxygen

override_dh_installchangelogs:
	dh_installchangelogs debian/changelog.upstream

override_dh_auto_clean:
	# Remove a file left after build and not automatically removed
	rm -f doxygen/doxygen_sqlite3.db
	dh_auto_clean