diff options
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/debian/rules b/debian/rules index 6f43f32..49477fa 100755 --- a/debian/rules +++ b/debian/rules @@ -3,29 +3,16 @@ NULL= export DEB_BUILD_MAINT_OPTIONS = hardening=+all -DPKG_EXPORT_BUILDFLAGS = 1 -include /usr/share/dpkg/buildflags.mk - -DEB_CMAKE_EXTRA_FLAGS = \ - -DENABLE_TESTS=ON \ - -DENABLE_COVERAGE=OFF \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DENABLE_LOMIRI_FEATURES=ON \ - $(NULL) %: - dh $@ --with gir + dh $@ override_dh_auto_configure: dh_auto_configure -- \ - $(DEB_CMAKE_EXTRA_FLAGS) + -DENABLE_TESTS=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)),OFF,ON) \ + -DENABLE_COVERAGE=OFF \ + -DENABLE_LOMIRI_FEATURES=ON \ $(NULL) -override_dh_missing: - dh_missing --fail-missing - -#override_dh_installchangelogs: -# dh_installchangelogs NEWS - get-orig-source: uscan --noconf --force-download --rename --download-current-version --destdir=.. |
