[Commits] python.it commit r224 - www/trunk/scripts

commit a svn.python.it commit a svn.python.it
Lun 2 Ott 2006 00:03:17 CEST


Author: manlio
Date: Mon Oct  2 00:03:14 2006
New Revision: 224

Modified:
   www/trunk/scripts/make.rules
Log:
versione finale makefile

Modified: www/trunk/scripts/make.rules
==============================================================================
--- www/trunk/scripts/make.rules	(original)
+++ www/trunk/scripts/make.rules	Mon Oct  2 00:03:14 2006
@@ -21,7 +21,7 @@
 
 # Where to upload stuff for make install.  LIVE_ROOT is the actual
 # physical location of files on the server.
-LIVE_HOST = 	python.mydebian
+LIVE_HOST = 	python.it
 LIVE_DEST =	$(LIVE_HOST):python.it/$(ROOT_OFFSET)
 
 # rsync definitions.
@@ -75,10 +75,10 @@
 	@echo Push to $(LIVE_DEST) ...
 	rsync --rsh=$(RSYNC_RSH) -v -r -l -t --update $(LOCAL_INCLUDE) $(GLOBAL_EXCLUDES) $(EXCLUDE_FROM) ./ $(LIVE_DEST)
 
-validate:	$(TARGETS)
+validate: $(TARGETS)
 	for f in $(TARGETS); \
 	do echo $$f;\
-	$(NSGMLS) -s -c $(HTML_CATALOG) $$f; \
+	$(XMLLINT) --noout --valid --catalogs $$f; \
 	done
 
 # wfcheck:
@@ -87,6 +87,10 @@
 # Override local_install in Makefile for directory-specific install actions.
 local_install:
 
+
+#
+# Recursive rules
+#
 recursive: all
 	for dir in * ; do \
             if [ -f $$dir/Makefile ] ; then \
@@ -95,6 +99,14 @@
 	    fi \
 	done
 
+recursivevalidate: all
+	for dir in * ; do \
+            if [ -f $$dir/Makefile ] ; then \
+                echo "Changing to $$dir" ; \
+	        cd $$dir ; make recursivevalidate; cd .. ; \
+	    fi \
+	done
+
 recursiveinstall: install
 	for dir in * ; do \
             if [ -f $$dir/Makefile ] ; then \


Maggiori informazioni sulla lista Commits