improve Makefile

master
joey 2007-03-21 23:23:21 +00:00
parent d3df4c133c
commit eeea100023
3 changed files with 18 additions and 12 deletions

View File

@ -8,6 +8,6 @@ Some additional configuration you might want to do:
* 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.

View File

@ -0,0 +1,15 @@
# 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

View File

@ -1,9 +0,0 @@
# 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