1 ## Process this with automake to create Makefile.in
3 AUTOMAKE_OPTIONS = foreign
5 SUBDIRS = vorbisfile vorbisenc
7 docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
9 # conditionally make the generated documentation
11 built_docs = Vorbis_I_spec.html Vorbis_I_spec.pdf
16 doc_DATA = components.png \
17 draft-moffitt-vorbis-rtp-00.txt \
24 floor1_inverse_dB_table.html \
44 vorbis-fidelity.html \
55 doc_sources = xml/Vorbis_I_spec.xml \
56 xml/01-introduction.xml \
57 xml/02-bitpacking.xml \
66 xml/a1-encapsulation_ogg.xml \
67 xml/a2-encapsulation_rtp.xml \
73 EXTRA_DIST = $(doc_DATA)
74 nobase_EXTRA_DIST = $(doc_sources)
76 # explicit rules for generating docs
78 xsltproc --xinclude --output $@ xml/spec-html.xsl xml/Vorbis_I_spec.xml
81 xsltproc --xinclude --output $@ xml/spec-fo.xsl xml/Vorbis_I_spec.xml
83 Vorbis_I_spec.pdf: Vorbis_I_spec.fo
84 cp $< spec.fo # work around a passivetex bug
85 pdfxmltex --interaction nonstopmode spec.fo
86 pdfxmltex --interaction nonstopmode spec.fo