Codebase list metche / run/14e422f8-2712-489f-9cdf-022042e2c751/main debian / rules
run/14e422f8-2712-489f-9cdf-022042e2c751/main

Tree @run/14e422f8-2712-489f-9cdf-022042e2c751/main (Download .tar.gz)

rules @run/14e422f8-2712-489f-9cdf-022042e2c751/mainraw · history · blame

#!/usr/bin/make -f
# debian rules file for metche

PACKAGE = metche
DESTDIR = $(CURDIR)/debian/$(PACKAGE)

%:
	dh $@

override_dh_clean:
	debconf-updatepo
	dh_clean

override_dh_install:
	dh_install
	cp $(CURDIR)/metche $(DESTDIR)/usr/sbin
	cp $(CURDIR)/metche.8 $(DESTDIR)/usr/share/man/man8
	install -m 0644 $(CURDIR)/metche.conf.default $(DESTDIR)/usr/share/metche/config/
	chown root:staff $(DESTDIR)/var/lib/metche
	chmod 750 $(DESTDIR)/var/lib/metche

override_dh_auto_build:
	make doc

 override_dh_auto_clean: