libgoatvr

diff doc/Makefile @ 25:bb85be761b50

started the documentation
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 08 Mar 2015 05:30:02 +0200
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/doc/Makefile	Sun Mar 08 05:30:02 2015 +0200
     1.3 @@ -0,0 +1,12 @@
     1.4 +rstfiles = $(wildcard *.rst)
     1.5 +htmlfiles = $(rstfiles:.rst=.html)
     1.6 +
     1.7 +.PHONY: html
     1.8 +html: $(htmlfiles)
     1.9 +
    1.10 +%.html: %.rst
    1.11 +	rst2html $(RSTFLAGS) $< >$@
    1.12 +
    1.13 +.PHONY: clean
    1.14 +clean:
    1.15 +	rm -f $(htmlfiles)