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
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
ifneq ($(DEB_HOST_ARCH_OS),linux)
CONFIGURE_ARGS += -DWITH_ALSA=OFF
endif
%:
dh $@ --parallel --with kde
override_dh_auto_configure:
dh_auto_configure --buildsystem=kde -- $(CONFIGURE_ARGS)
override_dh_auto_install:
dh_auto_install --buildsystem=kde
# remove useless documentation shipped upstream
rm -f \
$(CURDIR)/debian/kradio4/usr/share/doc/kradio4/COPYING \
$(CURDIR)/debian/kradio4/usr/share/doc/kradio4/INSTALL
# remove changelog installed by upstream, dh_installchangelogs will do it
rm -f $(CURDIR)/debian/kradio4/usr/share/doc/kradio4/ChangeLog
.PHONY: override_dh_auto_test
|