diff options
-rw-r--r-- | debian/control | 4 | ||||
-rwxr-xr-x | debian/rules | 25 |
2 files changed, 16 insertions, 13 deletions
diff --git a/debian/control b/debian/control index a43b051..c6f5ade 100644 --- a/debian/control +++ b/debian/control @@ -4,8 +4,8 @@ Priority: optional Maintainer: Artica Project <devs@lists.arctica-project.org> Uploaders: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> -Build-Depends: debhelper (>= 9), - dh-autoreconf, +Build-Depends: cdbs, + debhelper (>= 9), mate-common, freerdp2-dev (>= 2~), libgtest-dev, 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 |