• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1doc_DATA = doxygen-build.stamp
2
3EXTRA_DIST = Doxyfile.in
4
5if HAVE_DOXYGEN
6doxygen-build.stamp: Doxyfile
7	doxygen
8	touch doxygen-build.stamp
9else
10doxygen-build.stamp:
11	echo "*** Warning: Doxygen not found; documentation will not be built."
12	touch doxygen-build.stamp
13endif
14
15dist_docdir = $(distdir)/libnestegg
16
17dist-hook:
18	if test -d html; then \
19	  mkdir $(dist_docdir); \
20	  echo -n "copying built documenation..."; \
21	  cp -rp html $(dist_docdir)/html; \
22	  echo "OK"; \
23	fi
24
25
26install-data-local: doxygen-build.stamp
27	$(mkinstalldirs) $(DESTDIR)$(docdir)
28	if test -d html; then \
29	  cp -rp html $(DESTDIR)$(docdir)/html; \
30	fi
31
32uninstall-local:
33	rm -rf $(DESTDIR)$(docdir)
34
35clean-local:
36	if test -d html; then rm -rf html; fi
37	if test -f doxygen-build.stamp; then rm -f doxygen-build.stamp; fi
38
39