summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/ctan-o-mat/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/support/ctan-o-mat/makefile')
-rw-r--r--Master/texmf-dist/doc/support/ctan-o-mat/makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/support/ctan-o-mat/makefile b/Master/texmf-dist/doc/support/ctan-o-mat/makefile
index eebb703f99c..3c88c7fe55d 100644
--- a/Master/texmf-dist/doc/support/ctan-o-mat/makefile
+++ b/Master/texmf-dist/doc/support/ctan-o-mat/makefile
@@ -30,7 +30,7 @@ LATEX = xelatex
#------------------------------------------------------------------------------
-all:
+all: validate
clean distclean:
$(RM) -f *~ *.out *.log *.aux ctan-o-mat.ltx
@@ -41,6 +41,12 @@ pdf doc ctan-o-mat.pdf: README.md makefile lib/md2ltx.pl
@$(LATEX) -interaction=batchmode ctan-o-mat.latex
@$(RM) ctan-o-mat.out ctan-o-mat.aux ctan-o-mat.log ctan-o-mat.latex
+val validate: ctan-o-mat.pdf ctan-o-mat.zip
+ @./ctan-o-mat
+
+submit upload: ctan-o-mat.pdf ctan-o-mat.zip
+ @./ctan-o-mat -submit
+
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)))