2019-10-31 09:56:53 +08:00
|
|
|
#!/usr/bin/make -f
|
2020-02-25 21:52:01 +08:00
|
|
|
|
|
|
|
export QT_SELECT=5
|
2019-10-31 09:56:53 +08:00
|
|
|
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
|
|
|
|
|
2019-10-31 09:56:53 +08:00
|
|
|
%:
|
|
|
|
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)
|
2021-10-14 09:03:05 +08:00
|
|
|
|
|
|
|
override_dh_shlibdeps:
|
2021-10-15 20:29:12 +08:00
|
|
|
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
|
2021-10-14 09:03:05 +08:00
|
|
|
|