summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2011-03-07 01:05:45 +0100
committerHans Ulrich Niedermann <hun@n-dimensional.de>2011-03-07 20:57:51 +0100
commitf6892321c9f5d62f21e5bcc4964a1f497712e97c (patch)
tree24d497bfa6b601a319c55200de181959a42b5793
parent9b3bb0b0fe7a5856fe83a3f542561b471ed698ef (diff)
downloadrasdaman-upstream-to-be-rebased-a-lot/nonrecursive-build-with-libtool.zip
rasdaman-upstream-to-be-rebased-a-lot/nonrecursive-build-with-libtool.tar.gz
rasdaman-upstream-to-be-rebased-a-lot/nonrecursive-build-with-libtool.tar.xz
To force a rebuild of the docs, run $ make -C manuals_and_examples clean all
-rw-r--r--manuals_and_examples/Makefile.am28
1 files changed, 16 insertions, 12 deletions
diff --git a/manuals_and_examples/Makefile.am b/manuals_and_examples/Makefile.am
index cdf536d..7768b2f 100644
--- a/manuals_and_examples/Makefile.am
+++ b/manuals_and_examples/Makefile.am
@@ -52,20 +52,20 @@ install-data-hook:
mv -f $(dest_Makefile).new $(dest_Makefile)
CLEANFILES =
-DOXYGEN_CONFIGS =
-DOXYGEN_CONFIGS += doxygen-all.cfg
-DOXYGEN_CONFIGS += doxygen-api.cfg
-DOXYGEN_CONFIGS += doxygen-basedbms.cfg
-# DOXYGEN_CONFIGS += doxygen-server.cfg
+DOXYGEN_TARGETS =
+DOXYGEN_TARGETS += doxygen-all.doxystamp
+DOXYGEN_TARGETS += doxygen-api.doxystamp
+DOXYGEN_TARGETS += doxygen-basedbms.doxystamp
+# DOXYGEN_TARGETS += doxygen-server.doxystamp
+
+CLEANFILES += $(DOXYGEN_TARGETS)
EXTRA_DIST += doxygen-all.cfg.in
EXTRA_DIST += doxygen-api.cfg.in
EXTRA_DIST += doxygen-basedbms.cfg.in
# EXTRA_DIST += doxygen-server.cfg.in
-CLEANFILES += $(DOXYGEN_CONFIGS)
-
SUFFIXES = .cfg.in .cfg
.cfg.in.cfg:
$(SED) \
@@ -79,14 +79,18 @@ SUFFIXES = .cfg.in .cfg
if HAVE_DOXYGEN
CFG_TO_DIR = $(SED) -n 's,^doxygen-\([[:alpha:]]*\)\.cfg,dox-manuals/doc-\1,p'
-all-local: $(DOXYGEN_CONFIGS)
- @set -ex; for cfg in $(DOXYGEN_CONFIGS); do \
- $(MKDIR_P) "$$(echo "$$cfg" | $(CFG_TO_DIR))"; \
- $(DOXYGEN) "$$cfg"; \
- done
+all-local: $(DOXYGEN_TARGETS)
+
+SUFFIXES += .doxystamp .cfg
+.cfg.doxystamp:
+ rm -f "$@"
+ $(MKDIR_P) "$$(echo "$<" | $(CFG_TO_DIR))"
+ $(DOXYGEN) "$<"
+ date > $@
clean-local:
rm -rf dox-manuals
+ rm -f doxygen-*.cfg
endif
# Install the documentation, in two parts: The stuff from $(srcdir)