author | Lars Hjemli <hjemli@gmail.com> | 2009-03-15 08:05:49 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2009-03-15 08:05:49 (UTC) |
commit | 942a4c200168e110ec009c3260dc5f5f050de325 (patch) (side-by-side diff) | |
tree | 240031636e0a85d60e51b0059ee285af712a17a3 /Makefile | |
parent | 6063e7b5532481ffaa7a6f080de28547983bbeb7 (diff) | |
parent | 5e57cb24fca398b1a8cbceb84d9e9649785459d2 (diff) | |
download | cgit-942a4c200168e110ec009c3260dc5f5f050de325.zip cgit-942a4c200168e110ec009c3260dc5f5f050de325.tar.gz cgit-942a4c200168e110ec009c3260dc5f5f050de325.tar.bz2 |
Merge branch 'asciidoc'
-rw-r--r-- | Makefile | 19 |
1 files changed, 17 insertions, 2 deletions
@@ -102,3 +102,4 @@ endif -.PHONY: all libgit test install uninstall clean force-version get-git +.PHONY: all libgit test install uninstall clean force-version get-git \ + doc man-doc html-doc clean-doc @@ -151,5 +152,19 @@ uninstall: -clean: +doc: man-doc html-doc pdf-doc + +man-doc: cgitrc.5.txt + a2x -f manpage cgitrc.5.txt + +html-doc: cgitrc.5.txt + a2x -f xhtml --stylesheet=cgit-doc.css cgitrc.5.txt + +pdf-doc: cgitrc.5.txt + a2x -f pdf cgitrc.5.txt + +clean: clean-doc rm -f cgit VERSION *.o *.d +clean-doc: + rm -f cgitrc.5 cgitrc.5.xhtml cgitrc.5.pdf + get-git: |