From 81ee932646662f51b5d97b6ade822a85fb257ebb Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Sat, 6 Sep 2014 22:02:01 +0200 Subject: debian packaging scripts --- debian/rules | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 debian/rules (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000..8d0192e4 --- /dev/null +++ b/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f +DH_VERBOSE = 1 + +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/default.mk + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + +%: + dh $@ + +override_dh_auto_clean: + -$(MAKE) distclean + -find $(CURDIR) -name *.qm | xargs rm + +override_dh_strip: + dh_strip -a --dbg-package=libluminautils-dbg + +override_dh_auto_install: + INSTALL_ROOT=$(CURDIR)/debian/tmp/ $(MAKE) install -- cgit