File: rules

package info (click to toggle)
gloox 1.0.24-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,944 kB
  • sloc: cpp: 45,648; sh: 4,222; makefile: 1,028
file content (32 lines) | stat: -rwxr-xr-x 689 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
29
30
31
32
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_clean:
	rm -rf api
	dh_clean

override_dh_auto_configure:
	dh_auto_configure -- --without-examples

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

override_dh_missing:
	dh_missing -Xlibgloox.la -Xgloox-config

override_dh_strip:
	dh_strip --dbgsym-migration='libgloox-dbg (<< 1.0.24-1~)'