diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a8c1306 --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +# Build static html docs suitable for being shipped in the software +# package. This depends on ikiwiki being installed to build the docs. + +ifeq ($(shell which ikiwiki),) +IKIWIKI=echo "** ikiwiki not found" >&2 ; echo ikiwiki +else +IKIWIKI=ikiwiki +endif + +all: + $(IKIWIKI) `pwd` html -v --wikiname radsecproxy \ + --plugin=goodstuff \ + --plugin=sidebar \ + --exclude=html \ + --include=^doc/.*/.*\.html \ + --exclude=Makefile + +clean: + rm -rf .ikiwiki html |