CVS update by unwelcome-guest . ...

[email protected] Sun, 29 Nov 2009 14:47:45 +0000
Newsgroups gmane.emacs.xemacs.cvs
Message-ID <[email protected]>
  User: unwelcome-guest
  Date: 09/11/29 14:47:45

  Modified:    .        ChangeLog Makefile
Log:
Work around line length problem.

Revision  Changes    Path
1.288                XEmacs/xemacsweb/ChangeLog

Index: ChangeLog
===================================================================
RCS file: /cvsroot/xemacs/XEmacs/xemacsweb/ChangeLog,v
retrieving revision 1.287
retrieving revision 1.288
diff -u -p -r1.287 -r1.288
--- ChangeLog	20 May 2009 06:25:35 -0000	1.287
+++ ChangeLog	29 Nov 2009 14:47:44 -0000	1.288
@@ -1,3 +1,7 @@
+2009-11-29  Stephen J. Turnbull  <[email protected]>
+
+	* Makefile (real-validate): Use xargs, we have too many html files.
+
 2009-05-20  Stephen J. Turnbull  <[email protected]>
 
 	* index.content: Herald 21.5.29.



1.60                 XEmacs/xemacsweb/Makefile

Index: Makefile
===================================================================
RCS file: /cvsroot/xemacs/XEmacs/xemacsweb/Makefile,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -p -r1.59 -r1.60
--- Makefile	25 Nov 2009 23:06:22 -0000	1.59
+++ Makefile	29 Nov 2009 14:47:45 -0000	1.60
@@ -141,8 +141,12 @@ $(STAMPS)/validate: $(STAMPS) $(VALIDATE
 	make real-validate SUBMAKE=validate
 	touch $(STAMPS)/validate
 ifeq ($(SUBMAKE),validate)
+# We'd like to use VALIDATE_HTML_FILES or $<, but we've got too many of them.
+# (Limit on line length in shell.)  So we run the find again here with xargs.
 real-validate: $(VALIDATE_HTML_FILES)
-	$(XEMACS) $(FLAGS) -l ./batch-psgml-validate.elc -f batch-psgml-validate $?
+	$(FIND) . $(PRUNES) -o -name "*.html" -print \
+	| xargs $(XEMACS) $(FLAGS) -l ./batch-psgml-validate.elc \
+				   -f batch-psgml-validate
 endif
 
 # PB: target for rebuilding the namazu index