summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/ctan2tl
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-10-14 13:54:21 +0000
committerKarl Berry <karl@freefriends.org>2007-10-14 13:54:21 +0000
commitba6d143197e2488cdbd7ab23c2bd3902e6acf66e (patch)
tree4c480bd49cfdb58f339dfbaf70438e0fd46bfc9a /Master/tlpkg/bin/ctan2tl
parent311b53145a66880875774e17ca4572268b9aca1d (diff)
last doc fixes for now
git-svn-id: svn://tug.org/texlive/trunk@5185 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/ctan2tl')
-rwxr-xr-xMaster/tlpkg/bin/ctan2tl29
1 files changed, 18 insertions, 11 deletions
diff --git a/Master/tlpkg/bin/ctan2tl b/Master/tlpkg/bin/ctan2tl
index 1ab90ae47ed..b561e0e48cf 100755
--- a/Master/tlpkg/bin/ctan2tl
+++ b/Master/tlpkg/bin/ctan2tl
@@ -2,17 +2,7 @@
# $Id$
# Public domain. Originally written 2005, Karl Berry.
#
-# Initial attempt at pushing a ctan directory into TL.
-# See ./README for a bit more info.
-#
-# Basic usage: ctan2tl TLPKGNAME
-# --place to include final `place' invocation (repository adds/removes).
-# --no-ctan if already have files in Build/tmp.raw/PKG.
-# Unlikely to work without GNU utilities.
-#
-# This does not actually commit anything to the repository. Without
-# --place, it doesn't even create any files in the repository outside of
-# Build/tmp.{raw,cooked}.
+# Attempt to push a package from CTAN into TL.
unset CDPATH # avoid extraneous output
@@ -24,6 +14,23 @@ raw=$Build/tmp.raw
test -d $raw || mkdir $raw
cd $raw || exit 1
+if test "x$1" = x--help; then
+ echo "Usage: $0 [--place] [--no-ctan] TLPKGNAME"
+ echo
+ echo "Install a package from CTAN into TeX Live."
+ echo
+ echo "--place execute place to do repository adds/removes."
+ echo "--no-ctan if already have files in Build/tmp.raw/PKG."
+ echo
+ echo "This does not actually commit anything to the repository. Without"
+ echo "--place, it doesn't even touch anything in the repository outside of"
+ echo "Build/tmp.{raw,cooked}."
+ echo
+ echo "Read and understand http://tug.org/texlive/pkgupdate.html"
+ echo "before running this."
+ exit 0
+fi
+
if test "x$1" = x--place; then
place_chicken=
shift