blob: 0c2846e07fc528198221224776f6b2e56a2cf3a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
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}')
TARBALL=../metche-$(VERSION).tar.gz
release: Changelog
! [ -f $(TARBALL) ]
git archive \
--prefix=metche-$(VERSION)/ \
--output=$(TARBALL) \
master
.PHONY: all doc clean distclean
|