1 ## Process this with automake to create Makefile.in
3 AUTOMAKE_OPTIONS = foreign
5 SUBDIRS = vorbisfile vorbisenc
7 docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
9 static_docs = components.png \
10 draft-moffitt-vorbis-rtp-00.txt \
17 floor1_inverse_dB_table.html \
37 vorbis-fidelity.html \
46 # conditionally make the generated documentation
48 doc_DATA = $(static_docs) Vorbis_I_spec.html Vorbis_I_spec.pdf
50 doc_DATA = $(static_docs)
53 ## this requires automake 1.6
54 EXTRA_DIST = $(doc_DATA)
56 doc_sources = xml/Vorbis_I_spec.xml \
57 xml/01-introduction.xml \
58 xml/02-bitpacking.xml \
67 xml/a1-encapsulation_ogg.xml \
68 xml/a2-encapsulation_rtp.xml \
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