From ad0ea3e69b2437a50be0831c382179b469813777 Mon Sep 17 00:00:00 2001 From: Sebastien Bacher Date: Thu, 16 Feb 2012 17:23:19 +0100 Subject: including the debian directory --- debian/rules | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 debian/rules (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..84e343d --- /dev/null +++ b/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f + +#DEB_BUILDDIR = build + +include /usr/share/cdbs/1/rules/autoreconf.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/gnome.mk + +DEB_CONFIGURE_EXTRA_FLAGS = --disable-static + +CFLAGS += -Wno-error=deprecated-declarations +LDFLAGS += -Wl,-z,defs -Wl,--as-needed + +common-install-arch:: + find debian/indicator-printers -name \*.la -delete + find debian/indicator-printers -name \*.a -delete -- cgit v1.2.3 From 2ffb1e36a2312082c50c3a0660fffbe3225fbff7 Mon Sep 17 00:00:00 2001 From: Mathieu Trudel-Lapierre Date: Mon, 19 Nov 2012 11:47:05 -0500 Subject: * debian/rules: - Migrate from cdbs to using the dh sequencer. - Override dh_autoreconf to call autogen.sh. - Add and export DPKG_GENSYMBOLS_CHECK_LEVEL = 4. --- debian/rules | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 84e343d..38e5fbc 100755 --- a/debian/rules +++ b/debian/rules @@ -1,16 +1,19 @@ #!/usr/bin/make -f -#DEB_BUILDDIR = build - -include /usr/share/cdbs/1/rules/autoreconf.mk -include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/gnome.mk - DEB_CONFIGURE_EXTRA_FLAGS = --disable-static CFLAGS += -Wno-error=deprecated-declarations LDFLAGS += -Wl,-z,defs -Wl,--as-needed -common-install-arch:: +export DPKG_GENSYMBOLS_CHECK_LEVEL = 4 + +%: + dh $@ --with autoreconf + +override_dh_autoreconf: + NOCONFIGURE=1 dh_autoreconf ./autogen.sh + +override_dh_install: find debian/indicator-printers -name \*.la -delete find debian/indicator-printers -name \*.a -delete + dh_install --fail-missing -- cgit v1.2.3 From 62c47635f73cb23736a0172c6eceb394f60f9309 Mon Sep 17 00:00:00 2001 From: Mathieu Trudel-Lapierre Date: Tue, 20 Nov 2012 10:32:37 -0500 Subject: Override dh_auto_configure to properly pass --disable-static to configure. --- debian/rules | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 38e5fbc..c032912 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,5 @@ #!/usr/bin/make -f -DEB_CONFIGURE_EXTRA_FLAGS = --disable-static CFLAGS += -Wno-error=deprecated-declarations LDFLAGS += -Wl,-z,defs -Wl,--as-needed @@ -13,6 +12,10 @@ export DPKG_GENSYMBOLS_CHECK_LEVEL = 4 override_dh_autoreconf: NOCONFIGURE=1 dh_autoreconf ./autogen.sh +override_dh_auto_configure: + dh_auto_configure -- \ + --disable-static + override_dh_install: find debian/indicator-printers -name \*.la -delete find debian/indicator-printers -name \*.a -delete -- cgit v1.2.3