| 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 --wikiname FooBar --plugin=goodstuff \ |
| 12 | --exclude=html --exclude=Makefile |
| 13 | |
| 14 | clean: |
| 15 | rm -rf .ikiwiki html |