X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=doc%2FMakefile;h=aaf7675ac139ee0274dae8352fe60ccaf426dec8;hb=HEAD;hp=51172cbb1237d1dc23c82e6e952732aa8162537e;hpb=af5c2ec045fe738fa96f810373673611d5d7dbcc;p=freeradius.git diff --git a/doc/Makefile b/doc/Makefile index 51172cb..aaf7675 100644 --- 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) +