Skip to content
Snippets Groups Projects
Commit d478056b authored by Christian Engwer's avatar Christian Engwer
Browse files

rules to build documentation using 'make doc'

[[Imported from SVN: r5784]]
parent 6c101993
No related branches found
No related tags found
No related merge requests found
# -*- Makefile -*-
# $Id: global-rules 5267 2008-09-10 10:45:42Z christi $
maintainer-clean-local: doc-clean
doc-am: doc-local
doc-local:
doc-clean:
rm -f $(DOCFILES)
doc: doc-recursive
doc-recursive:
@set fnord $$MAKEFLAGS; amf=$$2; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
echo "Making $$target in $(subdir)/$$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
......@@ -14,3 +14,6 @@ include $(top_srcdir)/am/headercheck
# add "check-log"-target to create automated build logs
include $(top_srcdir)/am/checklog
# add "doc"-target to create and clean documentation
include $(top_srcdir)/am/documentation
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment