summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/ctan-o-mat
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-11-25 20:59:19 +0000
committerKarl Berry <karl@freefriends.org>2017-11-25 20:59:19 +0000
commit6c871415342a1a0768827fe38040e0383fc6435a (patch)
tree6279d17b7c323295b483d3b1e72b64b6e6e0dcaa /Master/texmf-dist/doc/support/ctan-o-mat
parenteaf5f8406e86635e0c9299c7784662d3f39a2546 (diff)
ctan-o-mat (25nov17)
git-svn-id: svn://tug.org/texlive/trunk@45907 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/support/ctan-o-mat')
-rw-r--r--Master/texmf-dist/doc/support/ctan-o-mat/README.md9
-rw-r--r--Master/texmf-dist/doc/support/ctan-o-mat/ctan-o-mat.pkg12
-rw-r--r--Master/texmf-dist/doc/support/ctan-o-mat/makefile8
3 files changed, 22 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/support/ctan-o-mat/README.md b/Master/texmf-dist/doc/support/ctan-o-mat/README.md
index 08b44507d4d..40addfee8b7 100644
--- a/Master/texmf-dist/doc/support/ctan-o-mat/README.md
+++ b/Master/texmf-dist/doc/support/ctan-o-mat/README.md
@@ -55,6 +55,15 @@ configuration via the command line parameter `--init`.
Create an empty template for a configuration.
</dd>
+ <dt><code>--list licenses</code></dt>
+ <dd>
+ List the known licenses of CTAN to the standard output stream.
+ Each license is represented as one line. The line contains the
+ fields key, name, free indicator. Those fields are separated by
+ tab characters. Afterwards the program terminates without processing
+ any further arguments.
+ </dd>
+
<dt><code>--submit</code></dt>
<dd>
Upload the submission, validate it and officially submit it to
diff --git a/Master/texmf-dist/doc/support/ctan-o-mat/ctan-o-mat.pkg b/Master/texmf-dist/doc/support/ctan-o-mat/ctan-o-mat.pkg
index 83d70a22c21..92cf156d654 100644
--- a/Master/texmf-dist/doc/support/ctan-o-mat/ctan-o-mat.pkg
+++ b/Master/texmf-dist/doc/support/ctan-o-mat/ctan-o-mat.pkg
@@ -20,7 +20,7 @@
% This field contains the version of the package.
% The value is optional.
% The value is restricted to 32 characters.
-\version{1.1}
+\version{1.2}
% -------------------------------------------------------------------------
% This field contains the name of the author(s).
% The value is optional.
@@ -102,9 +102,11 @@ The description of the package is contained in a configuration file.
Changes:
-- Handling of directories with spaces improved.
-- Error messages improved.
-- Wrong version on CTAN fixed
+- Command line parameter `--list licenses' added to retrieve the
+ known keys for licenses.
+- Verbose message for validation improved.
+- --init creates macro for \file instead of an environment.
+- Now environments and macros are close to be identical.
\end{announcement}
% -------------------------------------------------------------------------
% This field contains the one-liner for the package.
@@ -138,8 +140,6 @@ from the server.
% The value is optional.
% The value is restricted to 2048 characters.
\begin{note}
-Sorry, the wrong zip has made it to CTAN.
-This gives me the chance to publish a few minor problems too.
\end{note}
% -------------------------------------------------------------------------
% This field contains the archive file.
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)))