[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: making symlinks in cvs



Hi,
>>"Joey" == Joey Hess <joey@kitenet.net> writes:

 Joey> I know cvs doesn't do symlinks, but I need some symlinks to be
 Joey> created when a cvs directory is checked out, and I know that's
 Joey> possible because Manoj told me how once... but I've forgotten
 Joey> the details. Could anyone fill me in on how to do it?

	Here is an excerpt from my modules file. Two packages,
 latex2html and pkg-order, contain symlinks. The modules file entries
 are noted below. I am enclosing the (simple) scripts as well.

	manoj

======================================================================
# Debian Packages
latex2html       -s manoj -e $CVSROOT/CVSROOT/latex2html -o $CVSROOT/CVSROOT/lat
ex2html debian/latex2html
make             -s manoj       debian/make
pkg-order        -s manoj -e $CVSROOT/CVSROOT/pkg-order -o $CVSROOT/CVSROOT/pkg-
======================================================================

====================$CVSROOT/CVSROOT/latex2html =====================
#! /bin/sh
set -e
echo >&2 `pwd`
(cd $1/docs; test -f html.sty || ln -s ../texinputs/html.sty; \
                     test -f htmllist.sty || ln -s ../texinputs/htmllist.sty)
(cd $1/styles; test -f francais.perl || ln -s french.perl francais.perl; test -f germanb.perl || ln -s german.perl germanb.perl)
(cd $1/texinputs; test -f html.sty || ln -s html2e.sty html.sty)
======================================================================
====================$CVSROOT/CVSROOT/pkg-order======================
#! /bin/sh
set -e
echo >&2 `pwd`
(cd $1; test -f Package || ln -s Debian/Package; )
======================================================================
-- 
 The price of success in philosophy is triviality. Glymour.
Manoj Srivastava     <srivasta@acm.org>    <http://www.golden-gryphon.com/>
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E


Reply to: