a more spohisticated symlink handling
authorhaftmann
Sun, 05 Jun 2005 14:41:23 +0200
changeset 16276 3a50bf1f04d0
parent 16275 951803bff5b1
child 16277 f3f4d357b8ad
a more spohisticated symlink handling
Admin/website/build/main.mak
--- a/Admin/website/build/main.mak	Sun Jun 05 14:33:02 2005 +0200
+++ b/Admin/website/build/main.mak	Sun Jun 05 14:41:23 2005 +0200
@@ -81,7 +81,7 @@
 	allstatic=''; \
 	for dir in $(STATICDIRS); \
 	do \
-		for file in `$(FIND) -L $$dir -type f -a ! -path "*/CVS/*"`; \
+		for file in `$(FIND) $$dir -follow -type f -a ! -path "*/CVS/*"`; \
 		do \
 			outputfile=$(OUTPUTROOT)/$$file; \
 			outputdir=`dirname $$outputfile`; \
@@ -97,7 +97,7 @@
 	echo 'DEP_HTML=$$(DEP_ALLSTATIC) $$(DEP_SYMLINKS) include/documentationdist.include.html $(DEP_FILE) $(CONF)' >> $(DEP_FILE); \
 	echo >> $(DEP_FILE); \
 	allhtml=''; \
-	for html in `$(FIND) -P . -name "*.html" -a ! -name "*.include.html"`; \
+	for html in `$(FIND) . -name "*.html" -a ! -name "*.include.html"`; \
 	do \
 		outputfile=$(OUTPUTROOT)/$$html; \
 		outputdir=`dirname $$outputfile`; \