#!/usr/bin/make -f # -*- makefile -*- # $HeadURL$ $LastChangedRevision$ #export DH_VERBOSE=1 PACKAGE=fseb SHELL=/bin/bash #ADETEST_FLAGS=-vk get-orig-source: uscan --noconf --force-download --rename --repack --download-current-version --destdir=. %: dh $@ override_dh_auto_build: env -i PATH=$$PATH $(MAKE) -s override_dh_auto_test: env -i PATH=$$PATH ADETEST_FLAGS=$(ADETEST_FLAGS) $(MAKE) -s tests override_dh_auto_install: env -i PATH=$$PATH FSEB_PREFIX=$(CURDIR)/debian/$(PACKAGE)/usr FSEB_ETC_PREFIX=$(CURDIR)/debian/$(PACKAGE)/etc $(MAKE) install mkdir -p $(CURDIR)/debian/$(PACKAGE)/var/lib/fseb mkdir -p $(CURDIR)/debian/$(PACKAGE)/etc/cron.d @# example config files we use perl -0777 -pe 's/#[^\n]*HeadURL[^\n]*\n+//' doc/examples/cron > $(CURDIR)/debian/$(PACKAGE)/etc/cron.d/fseb @# example config files we used and don't want as examples rm -fr $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/fseb/examples rm -f $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/fseb/COPYING