Merge "Tokenize MB optimized"
[libvpx.git] / nestegg / docs / Makefile.am
blob42cf8eec4b05b44cff4dea117ed74e48dd5ec179
1 doc_DATA = doxygen-build.stamp
3 EXTRA_DIST = Doxyfile.in
5 if HAVE_DOXYGEN
6 doxygen-build.stamp: Doxyfile
7         doxygen
8         touch doxygen-build.stamp
9 else
10 doxygen-build.stamp:
11         echo "*** Warning: Doxygen not found; documentation will not be built."
12         touch doxygen-build.stamp
13 endif
15 dist_docdir = $(distdir)/libnestegg
17 dist-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
26 install-data-local: doxygen-build.stamp
27         $(mkinstalldirs) $(DESTDIR)$(docdir)
28         if test -d html; then \
29           cp -rp html $(DESTDIR)$(docdir)/html; \
30         fi
32 uninstall-local:
33         rm -rf $(DESTDIR)$(docdir)
35 clean-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