File: rules

package info (click to toggle)
xdotool 1%3A3.20160805.1-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 828 kB
  • ctags: 527
  • sloc: ansic: 5,587; ruby: 1,062; sh: 316; makefile: 269
file content (31 lines) | stat: -rwxr-xr-x 745 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --no-parallel

override_dh_auto_build:
	dh_auto_build -- WITHOUT_RPATH_FIX=1
	make docs
	rm -f docs/html/jquery.js

override_dh_installchangelogs:
	dh_installchangelogs CHANGELIST

override_dh_auto_install:
	make install PREFIX=debian/tmp/usr INSTALLMAN=debian/tmp/usr/share/man

override_dh_clean:
	dh_clean
	rm -rf docs/

override_dh_compress:
	dh_compress -X.js

override_dh_auto_test:
	SHELL=/bin/bash dh_auto_test -- HEADLESS_TESTS="test-xvfb-nowm test-xvfb-openbox" XEPHYR_TESTS="test-xephyr-nowm test-xephyr-openbox" SKIP_KNOWN_BROKEN_TESTS=1

override_dh_strip:
	dh_strip -plibxdo3 --dbgsym-migration='libxdo3-dbg (<< 1:3.20160805.1-1~)'
	dh_strip -pxdotool