Package list metche / e85f02b debian / rules
e85f02b

Tree @e85f02b (Download .tar.gz)

rules @e85f02braw · history · blame

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

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

build: build-stamp
build-stamp:
	dh_testdir
	$(MAKE)
	touch build-stamp

clean:
	dh_testdir
	dh_testroot
	rm -f build-stamp
	-$(MAKE) clean
	dh_clean 

install: build
	dh_testdir
	dh_testroot
	dh_clean -k 
	dh_installdirs
	DESTDIR=$(CURDIR)/debian/metche
	cp $(CURDIR)/metche $(TMP)/usr/sbin
	cp $(CURDIR)/metche.conf.default $(TMP)/etc/metche.conf
	cp $(CURDIR)/metche.8 $(TMP)/usr/share/man/man8

# Build architecture-independent files here.
binary-indep: build install

# Build architecture-dependent files here.
binary-arch: build install
	dh_testdir
	dh_testroot
	dh_installchangelogs 
	dh_installdocs
	dh_installexamples
	dh_installdebconf
	dh_installcron
	dh_installman metche.8
	dh_link
	dh_strip
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install