aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules25
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