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 33 34 35 36 37 38
|
#!/usr/bin/make -f
%:
dh $@ --builddirectory=build
override_dh_auto_configure:
dh_auto_configure -- \
PYTHON=python3 \
--disable-silent-rules
override_dh_auto_test:
dh_auto_test --max-parallel=1 -- VERBOSE=1
override_dh_makeshlibs:
dh_makeshlibs -plibxcb1 --add-udeb=libxcb1-udeb -V'libxcb1 (>= 1.12)' -- -c4
dh_makeshlibs -Nlibxcb1 -V -- -c4
override_dh_install:
find debian/tmp -name '*.la' -delete
rm -f debian/tmp/usr/include/xcb/ge.h
rm -f debian/tmp/usr/include/xcb/xevie.h
rm -f debian/tmp/usr/include/xcb/xprint.h
rm -f debian/tmp/usr/include/xcb/xselinux.h
dh_install
override_dh_installdocs: debian/copyright.debian COPYING
cat $+ > debian/copyright
dh_installdocs
override_dh_missing:
dh_missing --fail-missing
override_dh_compress:
dh_compress -X.png -X.html -X.map -X.css
override_dh_clean:
dh_clean
rm -f debian/copyright
|