| 1 |
MAINTAINERCLEANFILES=Makefile.in |
| 2 |
|
| 3 |
DOXYGEN=@DOXYGEN@ |
| 4 |
IKIWIKI=@IKIWIKI@ |
| 5 |
|
| 6 |
# Distribute *.mdwn, *.png, and *.css from the ikiwiki directory. |
| 7 |
# This trades off the danger of distributing too much (e.g., what |
| 8 |
# would happen if we distributed the whole directory, tilde-files and |
| 9 |
# all) against the pain of forcing everyone who adds a file to the |
| 10 |
# documentation to register it (given that ikiwiki doesn't make it |
| 11 |
# easy to audit for missing files). |
| 12 |
EXTRA_DIST = $(srcdir)/ikiwiki.setup $(shell find $(srcdir)/ikiwiki -name \*.mdwn -or -name \*.png -or -name \*.css) |
| 13 |
|
| 14 |
clean-local: |
| 15 |
rm -rf html latex ikiwiki-html |
| 16 |
rm -f doxygen*.tmp |
| 17 |
|
| 18 |
doxygen: |
| 19 |
if DOXYGEN |
| 20 |
mkdir -p html/documentation/api |
| 21 |
(cd $(top_srcdir) && $(DOXYGEN)) |
| 22 |
endif |
| 23 |
|
| 24 |
ikiwiki: |
| 25 |
if IKIWIKI |
| 26 |
(cd $(srcdir) && ikiwiki --setup ikiwiki.setup) |
| 27 |
endif |
| 28 |
|
| 29 |
doc: doxygen ikiwiki |
| 30 |
|
| 31 |
.PHONY: doc doxygen ikiwiki |