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
# Enable additional hardening options.
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export QT_SELECT=5
%:
dh $@ --with=kf5
QTBUILD=buildqt
override_dh_auto_clean:
# Clean up the KDE build (cmake)
dh_auto_clean -Skf5
# Clean up the Qt build (qmake)
dh_auto_clean -B$(QTBUILD) -Sqmake
override_dh_auto_configure:
# configure the KDE version (cmake)
dh_auto_configure -Skf5
# configure the Qt version (qmake)
dh_auto_configure -B$(QTBUILD) -Sqmake -- ../qtikz.pro
override_dh_auto_build:
# build the KDE version (cmake)
dh_auto_build -Skf5
# build the Qt version (qmake)
dh_auto_build -B$(QTBUILD) -Sqmake
override_dh_auto_install:
# install the KDE version (cmake)
dh_auto_install -Skf5 --destdir=debian/ktikz
# install the Qt version (qmake)
dh_auto_install -B$(QTBUILD) -Sqmake --destdir=debian/qtikz
rm $(CURDIR)/debian/qtikz/usr/share/qtikz/LICENSE.GPL2
.PHONY: override_dh_auto_clean override_dh_auto_configure override_dh_auto_build override_dh_auto_install
|