diff options
| author | 2014-12-06 17:36:51 -0500 | |
|---|---|---|
| committer | 2014-12-06 17:36:51 -0500 | |
| commit | 8eebd8e9a674afd69cddacbd30fa232ac266313d (patch) | |
| tree | c4a51c48d45010b6a9a7589a015206019165f1f9 /debian/rules | |
| parent | b534e5079948c93c510fed6fd1b51f84ace48e48 (diff) | |
d/rules: Use an OPTIONS var to set configure DEFINES.
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules index 8f99541..2ed9bd3 100755 --- a/debian/rules +++ b/debian/rules @@ -5,13 +5,15 @@ include /usr/share/dpkg/buildflags.mk export DEB_BUILD_MAINT_OPTIONS = hardening=+all export QT_SELECT = 5 +OPTIONS += "DEFINES += NO_AUTO_UPDATES" + %: dh $@ --parallel --builddirectory=builddir override_dh_auto_configure: mkdir -p builddir plugins_builddir - dh_auto_configure --buildsystem=qmake -- $(CURDIR)/SQLiteStudio3 "DEFINES += NO_AUTO_UPDATES" - dh_auto_configure --builddirectory=plugins_builddir --buildsystem=qmake -- $(CURDIR)/Plugins "DEFINES += NO_AUTO_UPDATES" + dh_auto_configure --buildsystem=qmake -- $(CURDIR)/SQLiteStudio3 $(OPTIONS) + dh_auto_configure --builddirectory=plugins_builddir --buildsystem=qmake -- $(CURDIR)/Plugins $(OPTIONS) override_dh_auto_build: dh_auto_build --builddirectory=builddir |
