summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2015-09-17 13:15:30 +0200
committerLinus Nordberg <linus@nordberg.se>2015-09-17 13:15:30 +0200
commit627003ae120a09b0e72940eb3683132a4a0cf93f (patch)
tree92364dcd2d901fb4dee5e03072b945c393929102 /Makefile
Initial revision.
Moving from https://software.uninett.no/radsecproxy/ to https://software.nordu.net/radsecproxy/.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
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