diff options
author | Karl Berry <karl@freefriends.org> | 2019-06-23 20:57:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-06-23 20:57:37 +0000 |
commit | 15991533e2ebd1c5de20d764410d809fb1a6ba56 (patch) | |
tree | 0d4801187bff854d3eb3b0be3aeaa687b2a0edee /Master/texmf-dist/doc/latex/tlc-article/bin | |
parent | d13f4aa60ac176e565e64bddd1c59f089551b2d0 (diff) |
tlc-article (23jun19)
git-svn-id: svn://tug.org/texlive/trunk@51431 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tlc-article/bin')
-rwxr-xr-x | Master/texmf-dist/doc/latex/tlc-article/bin/deploy | 19 |
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 $@ |