improve Makefile
[ikiwiki] / doc / examples / softwaresite / Makefile
1 # Build static html docs suitable for being shipped in the software
2 # package. This depends on ikiwiki being installed to build the docs.
3
4 ifeq ($(shell which ikiwiki),)
5 IKIWIKI=echo "** ikiwiki not found" >&2 ; echo ikiwiki
6 else
7 IKIWIKI=ikiwiki
8 endif
9
10 all:
11         $(IKIWIKI) `pwd` html -v --plugin=goodstuff \
12                 --no-rcs --exclude=/discussion --exclude=html --no-discussion
13
14 clean:
15         rm -rf .ikiwiki html