all: doc
metche.8: metche.8.markdown
pandoc --read=markdown --write=man --output=metche.8 --standalone $<
doc: metche.8
clean:
distclean: clean
rm -f metche.8
VERSION=$(shell head -n1 Changelog | awk '{print $$1}')
release: Changelog
git archive \
--prefix=metche-$(VERSION)/ \
--output=../metche-$(VERSION).tar.gz \
master
.PHONY: all doc clean distclean