diff options
| author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2025-01-16 15:28:30 +0100 |
|---|---|---|
| committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2025-01-16 15:28:30 +0100 |
| commit | 760c3278572a005da9f339526ea60f0d5afa3298 (patch) | |
| tree | 69363a1e7d5b620ebcdae36e2b8d706229c34910 /debian/rules | |
| parent | b139d20c0e599ac394db0f70d563263d6fbb68d3 (diff) | |
| download | libpam-freerdp2-760c3278572a005da9f339526ea60f0d5afa3298.tar.gz libpam-freerdp2-760c3278572a005da9f339526ea60f0d5afa3298.tar.bz2 libpam-freerdp2-760c3278572a005da9f339526ea60f0d5afa3298.zip | |
d/control: Switch from CDBS to debhelper (v12).
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 28 |
1 files changed, 7 insertions, 21 deletions
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=.. |
