35 lines
743 B
Makefile
Executable File
35 lines
743 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
export QT_SELECT=5
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
|
|
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 $@
|
|
|
|
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:
|
|
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
|
|
|