1 ## Process this with automake to create Makefile.in
3 SUBDIRS = vorbisfile vorbisenc
5 docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
7 ### all of the static docs, commited to SVN and included as is
14 floor1_inverse_dB_table.html \
30 vorbis-fidelity.html \
36 # bits needed by the spec
52 # FIXME: also needed here
67 a1-encapsulation-ogg.tex \
68 a2-encapsulation-rtp.tex \
71 built_docs = Vorbis_I_spec.pdf Vorbis_I_spec.html Vorbis_I_spec.css
73 # conditionally make the generated documentation
75 doc_DATA = $(static_docs) $(SPEC_PNG) $(built_docs)
77 doc_DATA = $(static_docs)
80 EXTRA_DIST = $(static_docs) $(built_docs) \
81 $(SPEC_TEX) $(SPEC_PNG) $(SPEC_PDF) Vorbis_I_spec.cfg
83 # these are expensive; only remove if we have to
84 MAINTAINERCLEANFILES = $(built_docs)
85 CLEANFILES = $(SPEC_TEX:%.tex=%.aux) \
86 Vorbis_I_spec.4ct Vorbis_I_spec.4tc \
87 Vorbis_I_spec.dvi Vorbis_I_spec.idv \
88 Vorbis_I_spec.lg Vorbis_I_spec.log \
89 Vorbis_I_spec.out Vorbis_I_spec.tmp \
90 Vorbis_I_spec.toc Vorbis_I_spec.xref \
92 zzVorbis_I_spec.ps xifish.png
93 DISTCLEANFILES = $(built_docs)
96 # explicit rules for generating docs
98 xifish.png: white-xifish.png
101 Vorbis_I_spec.html Vorbis_I_spec.css: $(SPEC_TEX) $(SPEC_PNG) xifish.png
104 Vorbis_I_spec.pdf: $(SPEC_TEX) $(SPEC_PNG) xifish.png
109 Vorbis_I_spec.html: NO_DOCS_ERROR
110 Vorbis_I_spec.pdf: NO_DOCS_ERROR
113 @echo "*** Documentation has not been built! ***"
114 @echo "Try re-running after passing --enable-docs to configure."