From c09f4214434a9afcb780ba83eb42ea04550baae7 Mon Sep 17 00:00:00 2001 From: Ferruccio Guidi Date: Fri, 20 Jun 2003 17:57:50 +0000 Subject: [PATCH] styles directory creation now works even if stylesheets and meta_stylesheets are symbolic links (as in my case) --- helm/gTopLevel/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/helm/gTopLevel/Makefile b/helm/gTopLevel/Makefile index f7738091b..f5bc93d9f 100644 --- a/helm/gTopLevel/Makefile +++ b/helm/gTopLevel/Makefile @@ -39,11 +39,10 @@ styles: @if [ -d stylesheets -a -d meta_stylesheets ] ; then echo -e "* stylesheets and metastylesheets found: *\\n* I will create the request hyperlinks in styles *" ; else echo -e "* stylesheets or meta_stylesheets not found: *\\n* you should check-out the two directories from the MoWGLI repository *" ; exit -1 ; fi @echo "***********************************************************************" mkdir styles - (cd stylesheets && for i in *.xsl ; do ln -s ../stylesheets/$$i ../styles/$$i ; done) - (cd stylesheets/generated && for i in *.xsl ; do ln -s ../stylesheets/generated/$$i ../../styles/$$i ; done) - rm styles/rootcontent.xsl - ln -s ../rootcontent.xsl styles/rootcontent.xsl - + (cd styles && for i in ../stylesheets/*.xsl ; do ln -s $$i; done) + (cd styles && for i in ../stylesheets/generated/*.xsl ; do ln -s $$i; done) + (cd styles && rm rootcontent.xsl && ln -s ../rootcontent.xsl) + depend: $(OCAMLDEP) $(DEPOBJS) > .depend -- 2.39.2