Fix copy/paste error in the iDCT pseudocode.
[xiph/unicode.git] / theora / doc / Makefile.am
blobcb0a40054d9c52079de0bf86e1366c47ced5a309
1 ## Process this file with automake to produce Makefile.in
3 SUBDIRS = #python
5 docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
7 built_docs =
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)
17 if HAVE_DOXYGEN
18 doxygen-build.stamp: Doxyfile $(top_srcdir)/include/theora/*.h
19         doxygen
20         touch doxygen-build.stamp
21 else
22 doxygen-build.stamp:
23         echo "*** Warning: Doxygen not found; documentation will not be built."
24         touch doxygen-build.stamp
25 endif
27 dist_docdir = $(distdir)/libtheora
29 dist-hook:
30         if test -d libtheora; then \
31           mkdir $(dist_docdir); \
32           for dir in libtheora/*; do \
33             b=`basename $$dir`; \
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; \
39                 done \
40               fi \
41             fi \
42           done \
43         fi
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 \
51               b=`basename $$dir`; \
52               $(mkinstalldirs) $(docdir)/$$b; \
53               for f in $$dir/*; do \
54                 $(INSTALL_DATA) $$f $(docdir)/$$b; \
55               done \
56             fi \
57           done \
58         fi
60 uninstall-local:
61         rm -rf $(docdir)
63 clean-local:
64         if test -d libtheora; then rm -rf libtheora; fi
65         if test -f doxygen-build.stamp; then rm -f doxygen-build.stamp; fi