###############################
# Configured variables
-D = @DEAL2_DIR@
-
-
+D = @DEAL2_DIR@
include $D/common/Make.global_options
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
#
# Copyright (c) the deal.II authors 2003
+###############################
+# Configured variables
+
+D = @DEAL2_DIR@
+include $D/common/Make.global_options
+
+
+
html: deal.tag
private:
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