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
|
#!/usr/bin/make -f
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
override_dh_auto_configure:
dh_auto_configure -- --disable-silent-rules
# Install in debian/tmp to retain control through dh_install:
override_dh_auto_install:
dh_auto_install --destdir=debian/tmp
# Kill *.la files, and forget no-one:
override_dh_install:
find debian/tmp -name '*.la' -delete
rm -rf debian/tmp/usr/include debian/tmp/usr/lib/pkgconfig
dh_install --fail-missing
ifeq (kfreebsd, $(DEB_HOST_ARCH_OS))
dh_install -pxserver-xorg-input-mouse debian/local/10-x11-mouse.fdi \
usr/share/hal/fdi/policy/20thirdparty/
endif
# That's a plugin, use appropriate warning level:
override_dh_shlibdeps:
dh_shlibdeps -- --warnings=6
%:
dh $@ --with quilt,autoreconf,xsf --builddirectory=build/
|