comparison Makefile @ 3381:c8296a0c9799

updated Makefile for 1.7 underlay (pathes, use master17.moinmo.in, use .tar)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 21 Mar 2008 00:18:04 +0100
parents 2a3a6cb34e45
children 1e699674f73b
comparison
equal deleted inserted replaced
3380:6d51aad79f59 3381:c8296a0c9799
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/bin16 --wiki-url=master.moinmo.in/ maint globaledit 45 MoinMoin/script/moin.py --config-dir=/srv/moin/cfg/1.7 --wiki-url=master17.moinmo.in/ maint globaledit
46 MoinMoin/script/moin.py --config-dir=/srv/de.wikiwikiweb.moinmaster/bin16 --wiki-url=master.moinmo.in/ maint reducewiki --target-dir=$(share)/underlay 46 MoinMoin/script/moin.py --config-dir=/srv/moin/cfg/1.7 --wiki-url=master17.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 -f underlay.tar; tar cf underlay.tar underlay
51 51
52 pagepacks: 52 pagepacks:
53 @python MoinMoin/_tests/maketestwiki.py 53 @python MoinMoin/_tests/maketestwiki.py
54 @MoinMoin/script/moin.py --config-dir=$(testwiki)/.. maint mkpagepacks 54 @MoinMoin/script/moin.py --config-dir=$(testwiki)/.. maint mkpagepacks
55 cd $(share) ; rm -rf underlay 55 cd $(share) ; rm -rf underlay
73 hg pull -u 73 hg pull -u
74 $(MAKE) patchlevel 74 $(MAKE) patchlevel
75 75
76 # Update underlay directory from the tarball 76 # Update underlay directory from the tarball
77 update-underlay: 77 update-underlay:
78 cd $(share); rm -rf underlay; tar xjf underlay.tar.bz2 78 cd $(share); rm -rf underlay; tar xf underlay.tar
79 79
80 test: 80 test:
81 @echo Testing is now done using \`py.test\`. py.test can be installed by downloading from http://codespeak.net/py/dist/download.html 81 @echo Testing is now done using \`py.test\`. py.test can be installed by downloading from http://codespeak.net/py/dist/download.html
82 @echo Writing tests is explained on http://codespeak.net/py/dist/test.html 82 @echo Writing tests is explained on http://codespeak.net/py/dist/test.html
83 83