2012-11-24 15:15:21 +01:00
|
|
|
push: output ldoc changelogs manpages
|
2013-10-12 19:00:41 +02:00
|
|
|
rsync -PaOvz --chmod=u=rwX,g=rwX,o=rX,Dg+s --exclude src html/ awesome.naquadah.org:/var/www/awesome.naquadah.org/
|
|
|
|
rsync -PaOvz --chmod=u=rwX,g=rwX,o=rX,Dg+s --delete src/build/doc/ awesome.naquadah.org:/var/www/awesome.naquadah.org/doc/api
|
|
|
|
rsync -PaOvz --chmod=u=rwX,g=rwX,o=rX,Dg+s /usr/share/asciidoc/icons awesome.naquadah.org:/var/www/awesome.naquadah.org/doc/manpages/icons
|
2007-11-20 09:28:50 +01:00
|
|
|
|
2009-01-15 15:20:17 +01:00
|
|
|
output: authors.mdwn
|
2012-11-24 15:48:28 +01:00
|
|
|
ikiwiki $(CURDIR) html -v --wikiname about --plugin=goodstuff --templatedir=templates \
|
2008-08-01 17:22:10 +02:00
|
|
|
--exclude=html --exclude=Makefile --rss --url http://awesome.naquadah.org
|
2009-01-15 15:20:17 +01:00
|
|
|
|
|
|
|
authors.mdwn:
|
|
|
|
echo '## Primary' > authors.mdwn
|
|
|
|
echo '<pre>' >> authors.mdwn
|
|
|
|
git --git-dir=src/.git shortlog -n -s | head -n 10 | column -x -c 80 >> authors.mdwn
|
|
|
|
echo '</pre>' >> authors.mdwn
|
|
|
|
echo '## Contributors' >> authors.mdwn
|
|
|
|
echo '<pre>' >> authors.mdwn
|
|
|
|
git --git-dir=src/.git shortlog -n -s | tail -n +11 | column -x -c 80 >> authors.mdwn
|
|
|
|
echo '</pre>' >> authors.mdwn
|
2012-11-24 15:15:21 +01:00
|
|
|
ldoc:
|
2009-09-11 13:50:37 +02:00
|
|
|
rm -f src/build
|
2012-11-24 15:15:21 +01:00
|
|
|
make -C src build cmake ldoc
|
2007-11-20 09:28:50 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf .ikiwiki html
|
2008-08-01 16:32:20 +02:00
|
|
|
|
2008-08-11 21:56:19 +02:00
|
|
|
changelogs:
|
|
|
|
test -d html/changelogs/short || mkdir -p html/changelogs/short
|
|
|
|
git --git-dir=src/.git tag | grep -v rc | sort -n | \
|
|
|
|
(while read v; do \
|
|
|
|
test -z "$$pv" && pv="`git --git-dir=src/.git rev-list HEAD | tail -n1`" ; \
|
|
|
|
git --git-dir=src/.git shortlog $$pv..$$v > html/changelogs/short/$$v ; \
|
|
|
|
git --git-dir=src/.git log $$pv..$$v > html/changelogs/$$v ; \
|
|
|
|
pv=$$v; done)
|
2009-01-15 15:20:17 +01:00
|
|
|
|
2009-04-28 13:57:09 +02:00
|
|
|
manpages:
|
|
|
|
mkdir -p html/doc/manpages
|
2009-05-08 15:21:15 +02:00
|
|
|
cd src/manpages; for manpage in *.?.txt; \
|
|
|
|
do asciidoc -a icons -b xhtml11 -o ../../html/doc/manpages/`basename $${manpage} .txt`.html $$manpage; \
|
2009-04-28 13:57:09 +02:00
|
|
|
done
|
|
|
|
|
|
|
|
.PHONY: authors.mdwn changelogs manpages
|