diff options
author | Simon L. B. Nielsen <simon@FreeBSD.org> | 2006-07-16 11:22:05 +0000 |
---|---|---|
committer | Simon L. B. Nielsen <simon@FreeBSD.org> | 2006-07-16 11:22:05 +0000 |
commit | be320ab292eb974740ce9e73aad626137a4171e4 (patch) | |
tree | d51b7808f56ed7bf201256320f05df7c1dc0ad16 /ja | |
parent | 6d843e28085b38e9f7b641641e2cb8272719a055 (diff) | |
download | doc-be320ab292eb974740ce9e73aad626137a4171e4.tar.gz doc-be320ab292eb974740ce9e73aad626137a4171e4.zip |
MFen 1.37+1.38:
- Make it possible to override the complete path to the INDEX file
used for the ports/ part of the website, by setting the
PINDEX_OVERRIDE variable. (Already merged in www/ja/ports/Makefile.)
- Force NO_TIDY for the ports web pages, since it takes a long time to
run tidy on these huge HTML files, and the files are valid HTML when
generated by portindex, even without tidy.
Running without tidy caused the build time to go from ~8 minutes to
~1 minute on my test machine. An additional bonus is that the
generated HTML files are now significantly smaller.
Notes
Notes:
svn path=/www/; revision=28303
Diffstat (limited to 'ja')
-rw-r--r-- | ja/ports/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/ja/ports/Makefile b/ja/ports/Makefile index 1c8caf9ace..cd6298d8f0 100644 --- a/ja/ports/Makefile +++ b/ja/ports/Makefile @@ -1,4 +1,4 @@ -# $FreeBSD: www/ja/ports/Makefile,v 1.27 2004/11/13 12:23:19 ceri Exp $ +# $FreeBSD: www/ja/ports/Makefile,v 1.28 2005/12/04 11:50:51 pav Exp $ # The FreeBSD Japanese Documentation Project # Original revision: 1.37 @@ -14,6 +14,13 @@ FETCH_OPT?= -am +# +# Force NO_TIDY for the ports web pages, since it takes a long time to +# run tidy on these huge HTML files, and the files are valid HTML when +# generated by portindex, even without tidy. +# +NO_TIDY= YES + .if defined(PINDEX_OVERRIDE) ${INDEX}: ${PINDEX_OVERRIDE} ${CP} ${PINDEX_OVERRIDE} ${INDEX} @@ -59,6 +66,9 @@ packages.exists: Makefile.gen: index.sgml .NOTMAIN ${ECHO_CMD} DOCS= *.sgml > Makefile.gen +.if defined(NO_TIDY) + ${ECHO_CMD} NO_TIDY=${NO_TIDY} >> Makefile.gen +.endif index.sgml: ${INDEX} categories packages.exists portindex ports.inc .NOTMAIN ${RM} -f *.sgml |