#!/usr/bin/make -f # -*- makefile -*- # $HeadURL$ $LastChangedRevision$ #export DH_VERBOSE=1 PACKAGE=unfs3 SHELL=/bin/bash #ADETEST_FLAGS=-vk # Stop creation of dbgsym package (see https://lists.debian.org/debian-devel/2015/12/msg00262.html) DEB_BUILD_OPTIONS=noddebs get-orig-source: uscan --noconf --force-download --rename --repack --download-current-version --destdir=. %: dh $@ override_dh_auto_configure: ./bootstrap ./configure --prefix=/usr override_dh_auto_build: make dh_strip override_dh_auto_install: install -d $(CURDIR)/debian/$(PACKAGE)/usr/sbin install -d $(CURDIR)/debian/$(PACKAGE)/usr/share/man/man7 install -d $(CURDIR)/debian/$(PACKAGE)/usr/share/man/man8 install -d $(CURDIR)/debian/$(PACKAGE)/lib/systemd/system install -d $(CURDIR)/debian/$(PACKAGE)/etc/default install unfsd $(CURDIR)/debian/$(PACKAGE)/usr/sbin/unfsd install -m 644 ./Extras/tags.7 $(CURDIR)/debian/$(PACKAGE)/usr/share/man/man7/tags.7 install -m 644 ./unfsd.8 $(CURDIR)/debian/$(PACKAGE)/usr/share/man/man8/unfsd.8 install $(CURDIR)/debian/$(PACKAGE).service $(CURDIR)/debian/$(PACKAGE)/lib/systemd/system/$(PACKAGE).service # Ensure conf files don't have svn tags grep -v HeadURL $(CURDIR)/debian/exports.example > $(CURDIR)/debian/$(PACKAGE)/etc/exports grep -v HeadURL $(CURDIR)/debian/default.example > $(CURDIR)/debian/$(PACKAGE)/etc/default/$(PACKAGE)