summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/ctan-o-mat/makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-11-15 23:03:35 +0000
committerKarl Berry <karl@freefriends.org>2017-11-15 23:03:35 +0000
commit9dc9700e2d9d17be02168dcc90bd4b9a9feceb8f (patch)
tree516152d9e531f21510208dfa4c377e6eabe434db /Master/texmf-dist/doc/support/ctan-o-mat/makefile
parent2eedf2145f5d63cdf259fc408f8c896dcf453d09 (diff)
ctan-o-mat (15nov17)
git-svn-id: svn://tug.org/texlive/trunk@45824 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/support/ctan-o-mat/makefile')
-rw-r--r--Master/texmf-dist/doc/support/ctan-o-mat/makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/support/ctan-o-mat/makefile b/Master/texmf-dist/doc/support/ctan-o-mat/makefile
new file mode 100644
index 00000000000..cabe9d8d145
--- /dev/null
+++ b/Master/texmf-dist/doc/support/ctan-o-mat/makefile
@@ -0,0 +1,32 @@
+#******************************************************************************
+#* (c) 2017 Gerd Neugebauer
+#*=============================================================================
+
+FILES = ctan-o-mat \
+ ctan-o-mat.bat \
+ ctan-o-mat.pl \
+ ctan-o-mat.pkg \
+ LICENSE \
+ README.md \
+ makefile \
+ ctan-o-mat.pdf \
+ lib/md2ltx.pl
+
+VERSION = `ctan-o-mat --version`
+
+all:
+
+clean:
+ $(RM) -f *~ *.out *.log *.aux ctan-o-mat.ltx
+
+ctan-o-mat.pdf: README.md makefile lib/md2ltx.pl
+ @perl lib/md2ltx.pl --version "$(VERSION)" README.md > ctan-o-mat.ltx
+ @xelatex -interaction=batchmode ctan-o-mat.ltx > /dev/null
+ @xelatex -interaction=batchmode ctan-o-mat.ltx
+ @$(RM) ctan-o-mat.out ctan-o-mat.aux ctan-o-mat.log
+
+dist ctan-o-mat.zip: $(FILES)
+ $(RM) ctan-o-mat.zip
+ (cd ..; zip ctan-o-mat/ctan-o-mat.zip $(addprefix ctan-o-mat/,$(FILES)))
+
+#