comparison Makefile @ 3688:c19b7a3d7539

Makefile: added fetching UPDATE instructions
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sun, 08 Jun 2008 21:06:19 +0200
parents 457a1f43f7eb
children 8a6960133ec2
comparison
equal deleted inserted replaced
3683:9fe5af566195 3688:c19b7a3d7539
23 -e 's#/wiki/modern/#wiki/htdocs/modern/#g' \ 23 -e 's#/wiki/modern/#wiki/htdocs/modern/#g' \
24 -e 's#/wiki/rightsidebar/#wiki/htdocs/rightsidebar/#g' \ 24 -e 's#/wiki/rightsidebar/#wiki/htdocs/rightsidebar/#g' \
25 build/INSTALL.html >docs/INSTALL.html 25 build/INSTALL.html >docs/INSTALL.html
26 -rm build/INSTALL.html 26 -rm build/INSTALL.html
27 27
28 wget -U MoinMoin/Makefile -O build/UPDATE.html "http://master17.moinmo.in/HelpOnUpdating?action=print"
29 sed \
30 -e 's#href="/#href="http://master17.moinmo.in/#g' \
31 -e 's#http://[a-z\.]*/wiki/classic/#/wiki/classic/#g' \
32 -e 's#http://[a-z\.]*/wiki/modern/#/wiki/modern/#g' \
33 -e 's#http://[a-z\.]*/wiki/rightsidebar/#/wiki/rightsidebar/#g' \
34 -e 's#/wiki/classic/#wiki/htdocs/classic/#g' \
35 -e 's#/wiki/modern/#wiki/htdocs/modern/#g' \
36 -e 's#/wiki/rightsidebar/#wiki/htdocs/rightsidebar/#g' \
37 build/UPDATE.html >docs/UPDATE.html
38 -rm build/UPDATE.html
28 -rmdir build 39 -rmdir build
29 40
30 interwiki: 41 interwiki:
31 wget -U MoinMoin/Makefile -O $(share)/data/intermap.txt "http://master17.moinmo.in/InterWikiMap?action=raw" 42 wget -U MoinMoin/Makefile -O $(share)/data/intermap.txt "http://master17.moinmo.in/InterWikiMap?action=raw"
32 chmod 664 $(share)/data/intermap.txt 43 chmod 664 $(share)/data/intermap.txt