* The softwaresite/doc subdirectory is intended to hold docs about your
software package. These docs can be included in the package itself;
- there is a [[softwaresite/doc/Makefile]] that will use ikiwiki to build
- static html documentation from the docs directory. ikiwiki itself uses a
- similar system to build its documentation.
+ there is a [[softwaresite/Makefile]] that will use ikiwiki to build
+ static html documentation. ikiwiki itself uses a similar system to build
+ its documentation.
--- /dev/null
+# 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 --plugin=goodstuff \
+ --no-rcs --exclude=/discussion --exclude=html --no-discussion
+
+clean:
+ rm -rf .ikiwiki html
+++ /dev/null
-# Build static html docs suitable for being shipped in the software
-# package.
-
-all:
- ikiwiki `pwd` html -v --plugin=goodstuff \
- --no-rcs --exclude=/discussion --exclude=html --no-discussion
-
-clean:
- rm -rf .ikiwiki