#!/usr/bin/make -f # # Build rules for mbuffer, the stream buffering tool # Aim for the top, adapt if anything should break on the buildds. export DEB_BUILD_MAINT_OPTIONS=hardening=+all export DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,defs D= debian/mbuffer ARCH= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) MD= $D/usr/libexec/${ARCH}/mbuffer override_dh_auto_clean: dh_auto_clean -- testcleanup distclean execute_after_dh_auto_install: mkdir -p '${MD}' install -c -m 755 -- idev.so tapetest.so have-af '${MD}/' override_dh_installchangelogs: dh_installchangelogs -X ChangeLog install -m 644 ChangeLog debian/mbuffer/usr/share/doc/mbuffer/NEWS %: dh $@