summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/latexpand/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/support/latexpand/Makefile')
-rw-r--r--Master/texmf-dist/doc/support/latexpand/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/support/latexpand/Makefile b/Master/texmf-dist/doc/support/latexpand/Makefile
index 2f8651ddd06..b0715a74dfb 100644
--- a/Master/texmf-dist/doc/support/latexpand/Makefile
+++ b/Master/texmf-dist/doc/support/latexpand/Makefile
@@ -1,10 +1,11 @@
all: latexpand.zip
-README:
+README: latexpand
./latexpand --help > README
.PHONY: latexpand.zip
latexpand.zip: README
-$(RM) $@
- @echo "latexpand version $$(git rev-parse HEAD)" > version.txt
- zip $@ README version.txt $$(git ls-files)
+ @echo "latexpand version $$(git rev-parse HEAD).\n\
+Commited on $$(git show HEAD --pretty=format:'%cd')." > version.txt
+ zip $@ README version.txt $$(git ls-files | grep -v '\.gitignore')