File: rules

package info (click to toggle)
gloox 1.0.22-0.1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 6,860 kB
  • sloc: cpp: 45,603; sh: 4,222; makefile: 1,024
file content (26 lines) | stat: -rwxr-xr-x 540 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

DEB_BUILD_MAINT_OPTIONS=hardening+=all

%:
	dh $@

override_dh_clean:
	rm -rf api
	dh_clean

override_dh_auto_build:
	dh_auto_build
	doxygen

override_dh_auto_test:
	dh_auto_test || echo "Ignoring test failures!"

override_dh_install:
	install -d -m 755 debian/libgloox-doc/usr/share/doc/libgloox-doc/html
	cp -a api/* debian/libgloox-doc/usr/share/doc/libgloox-doc/html/
	rm -f debian/libgloox-doc/usr/share/doc/libgloox-doc/html/*md5
	dh_install --list-missing

override_dh_strip:
	dh_strip --dbg-package=libgloox-dbg