1## Process this file with automake to produce Makefile.in
2
3apidocdir = $(htmldir)/libogg
4
5dist_apidoc_DATA = bitpacking.html datastructures.html decoding.html encoding.html\
6	general.html index.html ogg_iovec_t.html ogg_packet.html ogg_packet_clear.html\
7	ogg_page.html ogg_page_bos.html ogg_page_checksum_set.html\
8	ogg_page_continued.html ogg_page_eos.html ogg_page_granulepos.html\
9	ogg_page_packets.html ogg_page_pageno.html ogg_page_serialno.html\
10	ogg_page_version.html ogg_stream_check.html ogg_stream_clear.html ogg_stream_destroy.html\
11	ogg_stream_eos.html ogg_stream_flush.html ogg_stream_flush_fill.html ogg_stream_init.html\
12	ogg_stream_iovecin.html ogg_stream_packetin.html ogg_stream_packetout.html\
13	ogg_stream_packetpeek.html ogg_stream_pagein.html\
14	ogg_stream_pageout.html ogg_stream_pageout_fill.html ogg_stream_reset.html\
15	ogg_stream_reset_serialno.html ogg_stream_state.html\
16	ogg_sync_buffer.html ogg_sync_check.html ogg_sync_clear.html ogg_sync_destroy.html\
17	ogg_sync_init.html ogg_sync_pageout.html ogg_sync_pageseek.html\
18	ogg_sync_reset.html ogg_sync_state.html ogg_sync_wrote.html\
19	oggpack_adv.html oggpack_adv1.html oggpack_bits.html\
20	oggpack_buffer.html oggpack_bytes.html oggpack_get_buffer.html\
21	oggpack_look.html oggpack_look1.html oggpack_read.html\
22	oggpack_read1.html oggpack_readinit.html oggpack_reset.html\
23	oggpack_write.html oggpack_writealign.html oggpack_writecheck.html oggpack_writeclear.html\
24	oggpack_writecopy.html oggpack_writeinit.html oggpack_writetrunc.html\
25	overview.html reference.html style.css
26
27update-doc-version:
28	@YEAR=$$(date +%Y); DAY=$$(date +%Y%m%d);					\
29	for f in $(srcdir)/*.html; do							\
30		sed -e "s/2000-[0-9]\{4\} Xiph.Org/2000-$$YEAR Xiph.Org/g"		\
31		    -e "s/libogg release [0-9. -]\+/libogg release $(VERSION) - $$DAY/g"\
32			< $$f > $$f.tmp;						\
33		if diff -q $$f $$f.tmp > /dev/null; then				\
34			rm $$f.tmp;							\
35		else									\
36			mv $$f.tmp $$f;							\
37		fi;									\
38	done;
39
40