File: rules

package info (click to toggle)
t4kcommon 0.1.1-9
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,236 kB
  • sloc: sh: 10,688; ansic: 7,088; makefile: 101; sed: 16
file content (28 lines) | stat: -rwxr-xr-x 538 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
27
28
#!/usr/bin/make -f

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

PKG=libt4k-common0

%:
	dh $@

override_dh_auto_clean:
	dh_auto_clean
	$(RM) -r doxygen

doxygen/html:
	doxygen -u && doxygen
	# De-duplication:
	rdfind -outputname /dev/null -makesymlinks true doxygen
	symlinks -rsc doxygen

override_dh_installdocs: doxygen/html
	dh_installdocs -p$(PKG)-dev --link-doc=$(PKG)
	dh_installdocs

override_dh_strip:
	[ -d "$(CURDIR)/debian/$(PKG)-dbg" ] \
        && dh_strip --dbg-package=$(PKG)-dbg \
        || dh_strip