]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Move the code to validate xrefs down one level. Replace giant command line by individ...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 26 May 2005 15:16:04 +0000 (15:16 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 26 May 2005 15:16:04 +0000 (15:16 +0000)
git-svn-id: https://svn.dealii.org/trunk@10761 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/Makefile.in
deal.II/doc/doxygen/Makefile.in

index 1b77c24f36d1293da1290fb40696f7ec75c68496..7a7c5a6a3e455df8e86e721461415ebddcbc69d7 100644 (file)
@@ -3,9 +3,7 @@
 ###############################
 # Configured variables
 
-D        = @DEAL2_DIR@
-
-
+D     = @DEAL2_DIR@
 include $D/common/Make.global_options
 
 
@@ -32,9 +30,7 @@ glossary:
 validate-xrefs:
        @echo "Validating cross-references in HTML files."
        $(PERL) $D/common/scripts/validate-xrefs.pl *html
-       $(PERL) $D/common/scripts/validate-xrefs.pl doxygen/base/*.html
-       $(PERL) $D/common/scripts/validate-xrefs.pl doxygen/lac/*.html
-       $(PERL) $D/common/scripts/validate-xrefs.pl doxygen/deal.II/*.html
+       cd doxygen ; $(MAKE) validate-xrefs
        cd tutorial ; $(MAKE) validate-xrefs
        cd development ; $(MAKE) validate-xrefs
        cd publications ; $(MAKE) validate-xrefs
index 35e491a208b56f69354399d12c79fe89bfe94ddb..c71ee0ec0a08e6aad3886af078565ca5f3e2667d 100644 (file)
@@ -3,6 +3,14 @@
 #
 # Copyright (c) the deal.II authors 2003
 
+###############################
+# Configured variables
+
+D     = @DEAL2_DIR@
+include $D/common/Make.global_options
+
+
+
 html: deal.tag
 
 private:
@@ -20,4 +28,25 @@ base:    base.tag
 lac:     lac.tag
 deal.II: deal.tag
 
-.PHONY: html private base lac deal.II
+# validate cross references. there are so many html files in these
+# directories that we can just call
+#    $(PERL) $D/common/scripts/validate-xrefs.pl deal.II/*.html
+# as this leads to error messages of the kind "/usr/bin/perl: Argument 
+# list too long". Instead, use a loop over all html files
+validate-xrefs-%:
+       @echo --- Validating xrefs in $(@:validate-xrefs-%=%)/ ---
+       cd $(@:validate-xrefs-%=%) ; \
+               for i in *.html ; do \
+                       $(PERL) $D/common/scripts/validate-xrefs.pl $i ; \
+               done
+
+validate-xrefs: validate-xrefs-base \
+                validate-xrefs-lac  \
+                validate-xrefs-deal.II
+
+
+.PHONY: html private base lac deal.II \
+       validate-xrefs \
+       validate-xrefs-base \
+        validate-xrefs-lac  \
+        validate-xrefs-deal.II

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.