improve Makefile
parent
d3df4c133c
commit
eeea100023
|
@ -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.
|
||||
|
|
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue