summaryrefslogtreecommitdiff
path: root/Makefile
blob: c1f18e830cbe435f8060010bc09ab3ec46718844 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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