comparison Makefile @ 2981:0b9c89023917

use new master wiki url, master wiki runs 1.6 now (port from 1.6)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 05 Jan 2008 23:23:43 +0100
parents fca8ed243a88
children 2a3a6cb34e45
comparison
equal deleted inserted replaced
2980:54a6595fd585 2981:0b9c89023917
11 all: 11 all:
12 python setup.py build 12 python setup.py build
13 13
14 install-docs: 14 install-docs:
15 -mkdir build 15 -mkdir build
16 wget -U MoinMoin/Makefile -O build/INSTALL.html "http://moinmaster.wikiwikiweb.de/MoinMoin/InstallDocs?action=print" 16 wget -U MoinMoin/Makefile -O build/INSTALL.html "http://master.moinmo.in/MoinMoin/InstallDocs?action=print"
17 sed \ 17 sed \
18 -e 's#href="/#href="http://moinmaster.wikiwikiweb.de/#g' \ 18 -e 's#href="/#href="http://master.moinmo.in/#g' \
19 -e 's#http://[a-z\.]*/wiki/classic/#/wiki/classic/#g' \ 19 -e 's#http://[a-z\.]*/wiki/classic/#/wiki/classic/#g' \
20 -e 's#http://[a-z\.]*/wiki/modern/#/wiki/modern/#g' \ 20 -e 's#http://[a-z\.]*/wiki/modern/#/wiki/modern/#g' \
21 -e 's#http://[a-z\.]*/wiki/rightsidebar/#/wiki/rightsidebar/#g' \ 21 -e 's#http://[a-z\.]*/wiki/rightsidebar/#/wiki/rightsidebar/#g' \
22 -e 's#/wiki/classic/#wiki/htdocs/classic/#g' \ 22 -e 's#/wiki/classic/#wiki/htdocs/classic/#g' \
23 -e 's#/wiki/modern/#wiki/htdocs/modern/#g' \ 23 -e 's#/wiki/modern/#wiki/htdocs/modern/#g' \
26 -rm build/INSTALL.html 26 -rm build/INSTALL.html
27 27
28 -rmdir build 28 -rmdir build
29 29
30 interwiki: 30 interwiki:
31 wget -U MoinMoin/Makefile -O $(share)/data/intermap.txt "http://moinmaster.wikiwikiweb.de/InterWikiMap?action=raw" 31 wget -U MoinMoin/Makefile -O $(share)/data/intermap.txt "http://master.moinmo.in/InterWikiMap?action=raw"
32 chmod 664 $(share)/data/intermap.txt 32 chmod 664 $(share)/data/intermap.txt
33 33
34 check-tabs: 34 check-tabs:
35 @python -c 'import tabnanny ; tabnanny.check("MoinMoin")' 35 @python -c 'import tabnanny ; tabnanny.check("MoinMoin")'
36 36
40 40
41 # Create new underlay directory from MoinMaster 41 # Create new underlay directory from MoinMaster
42 # Should be used only on TW machine 42 # Should be used only on TW machine
43 underlay: 43 underlay:
44 rm -rf $(share)/underlay 44 rm -rf $(share)/underlay
45 MoinMoin/script/moin.py --config-dir=/srv/de.wikiwikiweb.moinmaster/bin15 --wiki-url=moinmaster.wikiwikiweb.de/ maint globaledit 45 MoinMoin/script/moin.py --config-dir=/srv/de.wikiwikiweb.moinmaster/bin16 --wiki-url=master.moinmo.in/ maint globaledit
46 MoinMoin/script/moin.py --config-dir=/srv/de.wikiwikiweb.moinmaster/bin15 --wiki-url=moinmaster.wikiwikiweb.de/ maint reducewiki --target-dir=$(share)/underlay 46 MoinMoin/script/moin.py --config-dir=/srv/de.wikiwikiweb.moinmaster/bin16 --wiki-url=master.moinmo.in/ maint reducewiki --target-dir=$(share)/underlay
47 rm -rf $(share)/underlay/pages/InterWikiMap/ 47 rm -rf $(share)/underlay/pages/InterWikiMap/
48 echo -ne "#acl All:read\r\nSee MoinMoin:EditingOnMoinMaster.\r\n" > \ 48 echo -ne "#acl All:read\r\nSee MoinMoin:EditingOnMoinMaster.\r\n" > \
49 $(share)/underlay/pages/MoinPagesEditorGroup/revisions/00000001 49 $(share)/underlay/pages/MoinPagesEditorGroup/revisions/00000001
50 cd $(share); rm -rf underlay.tar.bz2; tar cjf underlay.tar.bz2 underlay 50 cd $(share); rm -rf underlay.tar.bz2; tar cjf underlay.tar.bz2 underlay
51 51