summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tlc-article/bin/deploy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/tlc-article/bin/deploy')
-rwxr-xr-xMaster/texmf-dist/doc/latex/tlc-article/bin/deploy19
1 files changed, 19 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tlc-article/bin/deploy b/Master/texmf-dist/doc/latex/tlc-article/bin/deploy
new file mode 100755
index 00000000000..ee54d61ae1d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tlc-article/bin/deploy
@@ -0,0 +1,19 @@
+#!/bin/bash
+# Deploy a new LaTeX style or package.
+#
+# Usage:
+# deploy tlc-article.cls
+#
+# Note:
+# I use this script to test my deployment before publishing with CTAN.
+# ------------------------------------------------------------------------------
+main() {
+ mkdir -vp $(kpsewhich -var-value TEXMFLOCAL)/tex/latex/${1%.}
+ cp -v $1 $(kpsewhich -var-value TEXMFLOCAL)/tex/latex/${1%.}/.
+ mktexlsr $(kpsewhich -var-value TEXMFLOCAL)
+}
+
+# ------------------------------------------------------------------------------
+# Kick start start this script.
+# ------------------------------------------------------------------------------
+main $@