kylin-nm/debian/rules

35 lines
743 B
Plaintext
Raw Normal View History

#!/usr/bin/make -f
2020-02-25 21:52:01 +08:00
export QT_SELECT=5
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
2020-02-25 21:52:01 +08:00
QMAKE_OPTS = DEFINES+=NO_DEBUG_ON_CONSOLE
MAKE_OPTS = PREFIX=/usr QMAKE=qmake LRELEASE=lrelease QMAKE_OPTS="$(QMAKE_OPTS)"
override_dh_auto_configure:
QT_SELECT=qt5 dh_auto_configure \
-- "QMAKE_CXXFLAGS=$(CFLAGS)" \
kylin-nm.pro
%:
dh $@
2020-02-25 21:52:01 +08:00
override_dh_install:
dh_install
override_dh_missing:
dh_missing --fail-missing
override_dh_auto_clean:
[ ! -d .moc ] || $(RM) -r .moc
[ ! -d .obj ] || $(RM) -r .obj
[ ! -d .ui ] || $(RM) -r .ui
[ ! -f Makefile ] || dh_auto_clean
override_dh_auto_build:
dh_auto_build -- $(MAKE_OPTS)
override_dh_shlibdeps:
2021-10-15 20:29:12 +08:00
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info