diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-05-05 16:52:19 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-05-05 17:20:07 +0200 |
commit | 5b415f1d637277bcfb2328d3e0022cde48514b3a (patch) | |
tree | 217e9ea1972641cc01a1762c378e83d40191d7c7 /debian/rules | |
parent | 29f66f14149fd24fda9b80645890f1c74ba2a8ee (diff) | |
download | libpam-freerdp2-5b415f1d637277bcfb2328d3e0022cde48514b3a.tar.gz libpam-freerdp2-5b415f1d637277bcfb2328d3e0022cde48514b3a.tar.bz2 libpam-freerdp2-5b415f1d637277bcfb2328d3e0022cde48514b3a.zip |
debian/rules: Convert to CDBS.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/debian/rules b/debian/rules index 038db7d..19ce1e8 100755 --- a/debian/rules +++ b/debian/rules @@ -1,19 +1,22 @@ #!/usr/bin/make -f -# -*- makefile -*- -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk -override_dh_install: - find debian/libpam-freerdp2 -name '*.a' -delete - find debian/libpam-freerdp2 -name '*.la' -delete - dh_install --fail-missing +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 -override_dh_auto_test: - # disabled for now +#DEB_MAKE_CHECK_TARGET = check -%: - dh $@ --with autoreconf +# 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 |