diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-05-12 13:30:01 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-05-12 17:09:30 +0200 |
commit | 73e6c3aceb13b155c1f7af983acb8e7ed51e97c2 (patch) | |
tree | 03134c71ee26873cd8382a4f498090c1a4a107f3 /debian/rules | |
parent | 1140a11e33a1d47f9b4425317f777920d9777b66 (diff) | |
download | libayatana-indicator-73e6c3aceb13b155c1f7af983acb8e7ed51e97c2.tar.gz libayatana-indicator-73e6c3aceb13b155c1f7af983acb8e7ed51e97c2.tar.bz2 libayatana-indicator-73e6c3aceb13b155c1f7af983acb8e7ed51e97c2.zip |
debian/rules: Adjust to CMake based build. (Fixes DEB builds after CMake switch).
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/debian/rules b/debian/rules index 3082a13..ae8b287 100755 --- a/debian/rules +++ b/debian/rules @@ -6,10 +6,10 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk -COMMON_CONFIGURE_FLAGS = --disable-silent-rules +COMMON_CONFIGURE_FLAGS = -CONFIGURE_FLAGS_gtk2 = --with-gtk=2 -CONFIGURE_FLAGS_gtk3 = --with-gtk=3 +CONFIGURE_FLAGS_gtk2 = -DFLAVOUR_GTK2=ON -DFLAVOUR_GTK3=OFF +CONFIGURE_FLAGS_gtk3 = -DFLAVOUR_GTK3=ON -DFLAVOUR_GTK2=OFF LDFLAGS += -Wl,-z,defs -Wl,--as-needed @@ -17,10 +17,7 @@ export G_MESSAGES_DEBUG = all export DPKG_GENSYMBOLS_CHECK_LEVEL = 4 %: - dh $@ --with autoreconf - -override_dh_autoreconf: - NOCONFIGURE=1 dh_autoreconf ./autogen.sh + dh $@ override_dh_auto_configure: $(FLAVORS:%=doconfigure-%) |