From 760c3278572a005da9f339526ea60f0d5afa3298 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 16 Jan 2025 15:28:30 +0100 Subject: d/control: Switch from CDBS to debhelper (v12). --- debian/rules | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 96d8b0c..d7caa45 100755 --- a/debian/rules +++ b/debian/rules @@ -4,28 +4,14 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk -include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/rules/autoreconf.mk -include /usr/share/cdbs/1/class/autotools.mk -include /usr/share/cdbs/1/rules/utils.mk +%: + dh $@ -DEB_MAKE_CHECK_TARGET = check - -#pre-build:: -# cp README.md README -# -#cleanbuilddir:: -# rm -f README - -# Remove .a and .la files from /lib/security -remove-cruft:: - find $(DEB_DESTDIR)/lib/security -type f \ - \( -name '*.a' -o -name '*.la' \) \ - -exec rm '{}' + - -common-install-indep:: remove-cruft -common-install-arch:: remove-cruft -common-binary-post-install-arch:: list-missing +override_dh_install: + dh_install + find debian/tmp/lib/security -type f \ + \( -name '*.a' -o -name '*.la' \) \ + -exec rm '{}' + get-orig-source: uscan --noconf --force-download --rename --download-current-version --destdir=.. -- cgit v1.2.3