diff Makefile @ 5760:b43061e7c4d6

fixed install-docs sed commands (thanks to Sam T., GCI 2010)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 06 Jan 2011 13:21:52 +0100
parents 57e468c58d92
children d8d1a130ee28
line wrap: on
line diff
--- a/Makefile	Mon Jan 03 21:39:20 2011 +0100
+++ b/Makefile	Thu Jan 06 13:21:52 2011 +0100
@@ -15,17 +15,23 @@
 	-mkdir build
 	wget -U MoinMoin/Makefile -O build/INSTALL.html "http://master19.moinmo.in/InstallDocs?action=print"
 	sed \
-		-e 's#href="/#href="http://master19.moinmo.in/#g' \
-		-e 's#http://master19.moinmo.in/moin_static.../#../MoinMoin/web/static/htdocs/#g' \
-		-e 's#http://static.moinmo.in/moin_static.../#../MoinMoin/web/static/htdocs/#g' \
+		-e 's|http://master19.moinmo.in/moin_static...|../MoinMoin/web/static/htdocs|g' \
+		-e 's|http://static.moinmo.in/moin_static...|../MoinMoin/web/static/htdocs|g' \
+		-e 's|/moin_static...|../MoinMoin/web/static/htdocs|g' \
+		-e 's|/InstallDocs#|#|g' \
+		-e 's|/InstallDocs/QuickInstall#qdlinux|#InstallDocs.2BAC8-QuickInstall.2BAC8-Linux.Linux:_Detailed_Quick_Installation|g' \
+		-e 's|/InstallDocs/QuickInstall#qdmac|#InstallDocs.2BAC8-QuickInstall.2BAC8-MacOSX.Mac:_Detailed_Quick_Installation|g' \
+		-e 's|/InstallDocs/QuickInstall#qdwindows|#InstallDocs.2BAC8-QuickInstall.2BAC8-Windows.Windows:__Detailed_Quick_Installation|g' \
         build/INSTALL.html >docs/INSTALL.html
 	-rm build/INSTALL.html
 
 	wget -U MoinMoin/Makefile -O build/UPDATE.html "http://master19.moinmo.in/HelpOnUpdating?action=print"
 	sed \
-		-e 's#href="/#href="http://master19.moinmo.in/#g' \
-		-e 's#http://master19.moinmo.in/moin_static.../#../MoinMoin/web/static/htdocs/#g' \
-		-e 's#http://static.moinmo.in/moin_static.../#../MoinMoin/web/static/htdocs/#g' \
+		-e 's|http://master19.moinmo.in/moin_static...|../MoinMoin/web/static/htdocs|g' \
+		-e 's|http://static.moinmo.in/moin_static...|../MoinMoin/web/static/htdocs|g' \
+		-e 's|/moin_static...|../MoinMoin/web/static/htdocs|g' \
+		-e 's|href=./MoinMoin|href=\"http://master19.moinmo.in/MoinMoin|g' \
+		-e 's|href=./EditedSystemPages|href=\"http://master19.moinmo.in/EditedSystemPages|g' \
         build/UPDATE.html >docs/UPDATE.html
 	-rm build/UPDATE.html
 	-rmdir build
@@ -106,4 +112,3 @@
 .PHONY: all dist install-docs check-tabs epydoc underlay patchlevel \
 	check-i18n update update-underlay test testwiki clean \
 	clean-testwiki clean-pyc
-