add manpages generation
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
9260625e70
commit
3d042f2f21
13
Makefile
13
Makefile
|
@ -4,9 +4,10 @@ else
|
|||
IKIWIKI=ikiwiki
|
||||
endif
|
||||
|
||||
push: output luadoc changelogs
|
||||
push: output luadoc changelogs manpages
|
||||
rsync -Pavz --exclude src html/ awesome.naquadah.org:/var/www/awesome.naquadah.org/
|
||||
rsync -Pavz src/build/luadoc/ awesome.naquadah.org:/var/www/awesome.naquadah.org/apidoc
|
||||
rsync -Pavz --delete src/build/luadoc/ awesome.naquadah.org:/var/www/awesome.naquadah.org/doc/api
|
||||
rsync -Pavz /usr/share/asciidoc/icons awesome.naquadah.org:/var/www/awesome.naquadah.org/doc/manpages/icons
|
||||
|
||||
output: authors.mdwn
|
||||
$(IKIWIKI) $(CURDIR) html -v --wikiname about --plugin=goodstuff --templatedir=templates \
|
||||
|
@ -36,4 +37,10 @@ changelogs:
|
|||
git --git-dir=src/.git log $$pv..$$v > html/changelogs/$$v ; \
|
||||
pv=$$v; done)
|
||||
|
||||
.PHONY: authors.mdwn changelogs
|
||||
manpages:
|
||||
mkdir -p html/doc/manpages
|
||||
cd src; for manpage in *.?.txt; \
|
||||
do asciidoc -a icons -b xhtml11 -o ../html/doc/manpages/`basename $${manpage} .txt`.html $$manpage; \
|
||||
done
|
||||
|
||||
.PHONY: authors.mdwn changelogs manpages
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
* [Lua API documentation](api) built by luadoc
|
||||
* [awesome(1) manpage](manpages/awesome.1.html)
|
||||
* [awesomerc(5) manpage](manpages/awesomerc.5.html)
|
||||
* [awesome-client(1) manpage](manpages/awesome-client.1.html)
|
||||
* [awsetbg(1) manpage](manpages/awsetbg.1.html)
|
||||
* [awesome wiki](/wiki/)
|
|
@ -23,7 +23,7 @@
|
|||
<li><a href="/">home</a></li>
|
||||
<li><a href="/download/">download</a></li>
|
||||
<li><a href="/community/">community</a></li>
|
||||
<li><a href="/apidoc/">api doc</a></li>
|
||||
<li><a href="/doc/">doc</a></li>
|
||||
<li><a href="/bugs/">bugs</a></li>
|
||||
<li><a href="/wiki/">wiki</a></li>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue