source: git/dox/Makefile.am @ e1ef7b

spielwiese
Last change on this file since e1ef7b was 763b7c9, checked in by jgmbenoit <quatermaster@…>, 9 years ago
autotools: doc[ygen] Hardden the generated dox/Makefile clean target.
  • Property mode set to 100644
File size: 1.4 KB
Line 
1GIT_VERSION := $(shell $(top_srcdir)/git-version-gen $(top_srcdir)/.tarball-git-version)
2
3doxyrun:
4        if [ -z "$(DOXYGEN)" ]; then \
5                which -s doxygen || (echo Please add 'doxygen' to your PATH; exit 1;); \
6                export DOXYGEN=`which -s doxygen`; \
7        fi
8        if [ -z "$(DOXYGEN_CONFIG)" ]; then \
9                echo Please set 'DOXYGEN_CONFIG' env. var!; \
10                exit 1; \
11        fi
12        if [ ! -r "$(DOXYGEN_CONFIG)" ]; then \
13                echo Please make the doxygen configuration readable: "$(DOXYGEN_CONFIG)"!; \
14                exit 1; \
15        fi
16        export abs_top_srcdir="$(abs_top_srcdir)"; \
17        export abs_top_builddir="$(abs_top_builddir)"; \
18        export git_version="$(GIT_VERSION)"; \
19        echo Running "$(DOXYGEN)" "$(DOXYGEN_CONFIG)" with abs_top_srcdir: "$(abs_top_srcdir)", abs_top_builddir: "$(abs_top_builddir)", GIT_VERSION: "$(git_version)"...; \
20        $(DOXYGEN) $(DOXYGEN_CONFIG) ; \
21        echo Finished running "$(DOXYGEN)" "$(DOXYGEN_CONFIG)" with abs_top_srcdir: "$(abs_top_srcdir)", abs_top_builddir: "$(abs_top_builddir)", GIT_VERSION: "$(git_version)"...;
22
23if HAVE_DOXYGEN
24
25## doxyfile.stamp:
26html:
27        $(MAKE) doxyrun abs_top_srcdir="$(abs_top_srcdir)" abs_top_builddir="$(abs_top_builddir)" \
28        DOXYGEN_CONFIG="$(abs_srcdir)/Doxyfile.in" DOXYGEN="$(DOXYGEN)"
29##      echo Timestamp > doxyfile.stamp
30
31## CLEANFILES = doxyfile.stamp
32
33# all-local: doxyfile.stamp
34
35## html: doxyfile.stamp
36
37clean-local:
38        rm -f html_dox.log tags
39        rm -rf html
40endif
41
42EXTRA_DIST = Doxyfile.in logo.png DoxygenLayout.xml header.html footer.html stylesheet.css
Note: See TracBrowser for help on using the repository browser.