[xiph-cvs] r6524 - trunk/theora/doc/spec

giles at xiph.org giles at xiph.org
Sat Apr 17 18:08:18 PDT 2004



Author: giles
Date: 2004-04-17 21:08:17 -0400 (Sat, 17 Apr 2004)
New Revision: 6524

Added:
   trunk/theora/doc/spec/makefile
Log:
Add a hand-written makefile for manually generating the specification 
document from sources. Got tired of trying to make automake do this; in 
the meantime remember to run 'make && make distclean' here before 
rolling a distribution.

<p>Added: trunk/theora/doc/spec/makefile
===================================================================
--- trunk/theora/doc/spec/makefile	2004-04-18 01:06:25 UTC (rev 6523)
+++ trunk/theora/doc/spec/makefile	2004-04-18 01:08:17 UTC (rev 6524)
@@ -0,0 +1,49 @@
+# makefile to generate the spec document from it sources
+
+SPEC_SRCS = spec.tex spec.bib
+
+FIG_SRCS = hilbert-block.fig hilbert-mb.fig
+
+FIG_OBJS = $(FIG_SRCS:.fig=.tex)
+
+Theora_I_spec.pdf : spec.pdf
+	mv $< $@
+
+spec.pdf : $(SPEC_SRCS) $(FIG_OBJS) spec.bbl
+	# three times is the charm with references
+	pdflatex --interaction nonstopmode spec.tex
+	pdflatex --interaction nonstopmode spec.tex
+	pdflatex --interaction nonstopmode spec.tex
+
+spec.aux : spec.tex
+	pdflatex --interaction nonstopmode $<
+
+spec.bbl : spec.aux spec.bib
+	bibtex $<
+
+figures : $(FIG_OBJS)
+
+# rule to generate latex versions of the xfig figures
+%.tex : %.fig
+	fig2dev -L latex $< $@
+
+
+.PHONY: clean distclean maintainer-clean
+
+# clean targets
+clean:
+	-rm -f $(FIG_OBJS)
+	-rm -f spec.pdf
+	-rm -f spec.aux
+	-rm -f spec.log
+	-rm -f spec.out
+	-rm -f spec.bbl
+	-rm -f spec.blg
+	-rm -f spec.toc
+
+distclean: clean
+
+maintainer-clean: distclean
+	-rm -f Theora_I_spec.pdf
+
+maintainerclean: maintainer-clean

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list