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
|
#!/usr/bin/make -f
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@
.PHONY: override_dh_autoreconf
override_dh_autoreconf:
test -f ChangeLog || touch ChangeLog
dh_autoreconf
CONFIGURE_FLAGS = --enable-external-keyboards
override_dh_auto_configure:
dh_auto_configure -- $(CONFIGURE_FLAGS)
.PHONY: override_dh_clean
override_dh_clean:
if [ -f ChangeLog ] && ! [ -s ChangeLog ]; then \
rm -f ChangeLog; \
fi
dh_clean
# The upstream distributes the git-based changelog, so we can't get that
# changelog when we directly use the upstream git..
.PHONY: override_dh_installchangelogs
override_dh_installchangelogs:
dh_installchangelogs debian/changelog.upstream
|