QOwnNotes/build-systems/obs/cmake-qt6/debian.rules
Patrizio Bekerle 87458992f6 #3267 release: add new packaging process for Debian with cmake and Qt6
Signed-off-by: Patrizio Bekerle <patrizio@bekerle.com>
2025-05-04 18:14:46 +02:00

22 lines
No EOL
455 B
Makefile

#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1
# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export QT_SELECT := 6
%:
dh $@ --buildsystem=cmake
override_dh_auto_configure:
dh_auto_configure -- \
-DQON_QT6_BUILD=ON
override_dh_install:
dh_install --
override_dh_missing:
dh_missing --fail-missing