1 ## Process this file with automake to produce Makefile.in
5 docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
9 static_docs = vp3-format.txt color.html
11 doc_DATA = $(built_docs) $(static_docs) doxygen-build.stamp
13 EXTRA_DIST = $(built_docs) $(static_docs) spec Doxyfile.in
15 CLEANFILES = $(built_docs)
18 doxygen-build.stamp: Doxyfile $(top_srcdir)/include/theora/*.h
20 touch doxygen-build.stamp
23 echo "*** Warning: Doxygen not found; documentation will not be built."
24 touch doxygen-build.stamp
27 dist_docdir = $(distdir)/libtheora
30 if test -d libtheora; then \
31 mkdir $(dist_docdir); \
32 for dir in libtheora/*; do \
34 if test $$b != "CVS"; then \
35 if test -d $$dir; then \
36 mkdir $(dist_docdir)/$$b; \
37 for f in $$dir/*; do \
38 cp -p $$f $(dist_docdir)/$$b; \
46 install-data-local: doxygen-build.stamp
47 $(mkinstalldirs) $(docdir)
48 if test -d libtheora; then \
49 for dir in libtheora/*; do \
50 if test -d $$dir; then \
52 $(mkinstalldirs) $(docdir)/$$b; \
53 for f in $$dir/*; do \
54 $(INSTALL_DATA) $$f $(docdir)/$$b; \
64 if test -d libtheora; then rm -rf libtheora; fi
65 if test -f doxygen-build.stamp; then rm -f doxygen-build.stamp; fi