Codebase list metche / run/d686ab84-c0ff-447b-a7a5-95c844cb5b4c/main Makefile
run/d686ab84-c0ff-447b-a7a5-95c844cb5b4c/main

Tree @run/d686ab84-c0ff-447b-a7a5-95c844cb5b4c/main (Download .tar.gz)

Makefile @run/d686ab84-c0ff-447b-a7a5-95c844cb5b4c/mainraw · history · blame

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