summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/latexpand/Makefile
blob: 08145b7b103afac03f8a0e86b1191b4eb3633e16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
all: dist/latexpand.zip

dist/latexpand/README: latexpand
	pod2text latexpand > $@

.PHONY: all force
dist/latexpand.zip: force
	-$(RM) -r dist/
	mkdir -p dist/latexpand
	@$(MAKE) dist/latexpand/README
	@echo "latexpand version $$(git rev-parse HEAD).\n\
Commited on $$(git show -s HEAD --pretty=format:'%cd')." > dist/latexpand/version.txt
	git ls-files | grep -v '\.gitignore' | tar -cf - -T - | (cd dist/latexpand/ && tar xf -)
	cd dist && zip -r latexpand.zip latexpand/
force: