summaryrefslogtreecommitdiff
path: root/Makefile
blob: 865758d7b43601c8719163eb24eb5456951bd1f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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

DESTDIR ?= html

all:
	$(IKIWIKI) `pwd` $(DESTDIR) -v --wikiname radsecproxy \
		--plugin=goodstuff \
		--plugin=sidebar \
		--exclude=html \
		--include=^doc/.*/.*\.html \
		--exclude=Makefile \
		--exclude=packaging

clean:
	rm -rf .ikiwiki $(DESTDIR)