projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c22bdb6
)
Simple rules to build HTML files if we don't have sphinx
author
Alan T. DeKok
<aland@freeradius.org>
Mon, 14 Jun 2010 08:50:06 +0000
(10:50 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Tue, 15 Jun 2010 10:15:23 +0000
(12:15 +0200)
doc/Makefile
patch
|
blob
|
history
diff --git
a/doc/Makefile
b/doc/Makefile
index
51172cb
..
aaf7675
100644
(file)
--- a/
doc/Makefile
+++ b/
doc/Makefile
@@
-9,6
+9,8
@@
include ../Make.inc
SUBDIRS = examples rfc
WHAT_TO_MAKE = all
+RST_FILES := $(wildcard *.rst)
+
all:
@$(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
@@
-36,3
+38,10
@@
$(SUBDIRS):
@$(MAKE) $(MFLAGS) -C $@ $(WHAT_TO_MAKE)
.PHONY: all clean install common $(SUBDIRS)
+
+%.html: %.rst
+ @rst2html.py $^ > $@
+
+.PHONY: html
+html: $(RST_FILES:.rst=.html)
+