debian swirl logo

Back to the packages list htcheck

#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk

DEB_CONFIGURE_EXTRA_FLAGS := \
		--with-config-dir=/etc/htcheck \
		--with-doc-dir=/usr/share/doc/htcheck \
		--enable-shared=no

DEB_INSTALL_EXAMPLES_htcheck := \
		$(DEB_DESTDIR)/etc/htcheck/htcheck.conf.default \
		$(DEB_DESTDIR)/etc/htcheck/cookies.txt.default

binary-post-install/htcheck::
		rm $(DEB_DESTDIR)/etc/htcheck/htcheck.conf.default
		rm $(DEB_DESTDIR)/etc/htcheck/cookies.txt.default
		rm -fr $(DEB_DESTDIR)/usr/lib
		rm -fr $(DEB_DESTDIR)/usr/include

Builds:

htcheck
utility for checking web site for dead/external links