stuart: doc/www/src Makefile,1.8,1.9

cvs at intevation.de cvs at intevation.de
Mon Jun 7 17:21:06 CEST 2004


Author: stuart

Update of /kolabrepository/doc/www/src
In directory doto:/tmp/cvs-serv23739

Modified Files:
	Makefile 
Log Message:
Updated makefile to copy the stylesheet to ../html


Index: Makefile
===================================================================
RCS file: /kolabrepository/doc/www/src/Makefile,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- Makefile	11 Sep 2003 06:55:04 -0000	1.8
+++ Makefile	7 Jun 2004 15:21:02 -0000	1.9
@@ -1,26 +1,26 @@
-HTML_FILES=index.html howtos.html cvs-kolab.html \
-client-features.html kolab-plugins.html documentation.html screenshots.html 
+HTML_FILES = \
+    index.html \
+    howtos.html \
+    cvs-kolab.html \
+    client-features.html \
+    kolab-plugins.html \
+    documentation.html \
+    screenshots.html
 
 all:
-	mkdir -p ../html
-	if [ ! -d ../html/images ] ; then \
-		mkdir ../html/images ; \
-	fi 
-	if [ ! -d ../html/howtos/amavis_spamassassin_sophos ] ; then \
-		mkdir -p ../html/howtos/amavis_spamassassin_sophos; \
-	fi  
-	if [ ! -d ../html/howtos/amavis_spamassassin_clam ] ; then \
-		mkdir -p ../html/howtos/amavis_spamassassin_clam; \
-	fi 
+	mkdir -p ../html/images ../html/howtos/amavis_spamassassin_sophos \
+		../html/howtos/amavis_spamassassin_clam
 	cp -u howtos/amavis_spamassassin_sophos/*.* \
-	   ../html/howtos/amavis_spamassassin_sophos
+		../html/howtos/amavis_spamassassin_sophos
 	cp -u howtos/amavis_spamassassin_clam/*.* \
-	   ../html/howtos/amavis_spamassassin_clam
+		../html/howtos/amavis_spamassassin_clam
 	cp -u images/*.png ../html/images/
-	for f in $(HTML_FILES) ; do\
-		rm -f ../html/$$f ;\
+	cp -u *.css ../html/
+	for f in $(HTML_FILES); \
+	do \
+		rm -f ../html/$$f; \
 		m4 -DNO_LINK_FOR=$$f \
-			 -DCURRENT_DATE="`export LC_ALL=en_EN ; date`"\
-			--prefix-builtins\
-			$$f.m4 > ../html/$$f ;\
+			-DCURRENT_DATE="`export LC_ALL=en_EN ; date`" \
+			--prefix-builtins $$f.m4 > ../html/$$f; \
 	done
+





More information about the commits mailing list