avoid building news page when building doc wiki for package

This commit is contained in:
Joey Hess 2010-12-02 21:37:55 -04:00
parent 71d60eb87a
commit 6f932a0963
2 changed files with 8 additions and 1 deletions

View file

@ -30,7 +30,8 @@ docs:
$(IKIWIKI) doc html -v --wikiname git-annex --plugin=goodstuff \
--no-usedirs --disable-plugin=openid --plugin=sidebar \
--underlaydir=/dev/null --disable-plugin=shortcut \
--disable-plugin=smiley
--disable-plugin=smiley \
--exclude='news/.*'
clean:
rm -rf build git-annex git-annex.1 test configure SysConfig.hs

View file

@ -1,5 +1,11 @@
[[!if test="news/*" then="""
This is where announcements of new releases, features, and other news is
posted. git-annex users are recommended to subscribe to this page's RSS
feed.
[[!inline pages="./news/* and !*/Discussion" rootpage="news" show="30"]]
"""
else="""
(Please see the changelog.)
"""]]