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
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS:=hardening=+all
# Use qt4's qmake executable
export QMAKE:="qmake-qt4"
%:
dh $@
# We call qmake explicitly (instead of letting dh do the work) in
# order to make sure we use the qmake binary specified in $(QMAKE)
override_dh_auto_configure: Makefile
Makefile:
$(QMAKE)
$(MAKE) qmake
MANPAGES := debian/karlyriceditor.1
override_dh_auto_build: $(MANPAGES)
debian/%.1: debian/%.sgml
docbook-to-man $< > $@
|