Add linkchecker target for checking html links

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11923 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2010-03-06 23:22:40 +00:00
commit 03634e6c9b

View file

@ -9,6 +9,7 @@
# validation. # validation.
# #
# Additional html validation can be done using the validate target. # Additional html validation can be done using the validate target.
# Additional link checking can be done using the linkchecker target.
# #
# Note the # and " are escaped # Note the # and " are escaped
@ -68,3 +69,7 @@ test:
validate: validate:
all=`sed '/^#/d' chapters`; for a in $$all; do validate --emacs $$a; done; all=`sed '/^#/d' chapters`; for a in $$all; do validate --emacs $$a; done;
# Link checking using linkchecker (can take a while - 30 mins)
linkchecker:
linkchecker --anchors Contents.html