From: wolf Date: Thu, 26 May 2005 15:16:04 +0000 (+0000) Subject: Move the code to validate xrefs down one level. Replace giant command line by individ... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fad0f2cc47847dd2f24de0e439bf7a0e66189d7;p=dealii-svn.git Move the code to validate xrefs down one level. Replace giant command line by individual calls for each file. git-svn-id: https://svn.dealii.org/trunk@10761 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/doc/Makefile.in b/deal.II/doc/Makefile.in index 1b77c24f36..7a7c5a6a3e 100644 --- a/deal.II/doc/Makefile.in +++ b/deal.II/doc/Makefile.in @@ -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 diff --git a/deal.II/doc/doxygen/Makefile.in b/deal.II/doc/doxygen/Makefile.in index 35e491a208..c71ee0ec0a 100644 --- a/deal.II/doc/doxygen/Makefile.in +++ b/deal.II/doc/doxygen/Makefile.in @@ -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