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

tterribe at xiph.org tterribe at xiph.org
Fri May 7 20:05:14 PDT 2004



Author: tterribe
Date: 2004-05-07 23:05:14 -0400 (Fri, 07 May 2004)
New Revision: 6635

Added:
   trunk/theora/doc/spec/Makefile
Log:
Apparently SVN won't let me rename makefile to Makefile, but if I do it myself
 it will delete the old one from the repository.
Let's add it back.

<p>Added: trunk/theora/doc/spec/Makefile
===================================================================
--- trunk/theora/doc/spec/Makefile	2004-05-08 03:03:31 UTC (rev 6634)
+++ trunk/theora/doc/spec/Makefile	2004-05-08 03:05:14 UTC (rev 6635)
@@ -0,0 +1,55 @@
+# makefile to generate the spec document from it sources
+# requires transfig and pdflatex
+
+# Alias some shell commands, so we might have a chance of running on non-Unix
+#  platforms some day.
+MV = mv
+RM = rm -f
+
+SPEC_SRCS = spec.tex spec.bib
+
+FIG_SRCS = pic-frame.fig hilbert-mb.fig hilbert-block.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) $(FIG_OBJS)
+	-$(RM) spec.pdf
+	-$(RM) spec.aux
+	-$(RM) spec.log
+	-$(RM) spec.out
+	-$(RM) spec.bbl
+	-$(RM) spec.blg
+	-$(RM) spec.toc
+
+distclean: clean
+
+maintainer-clean: distclean
+	-$(RM) Theora_I_spec.pdf
+
+maintainerclean: maintainer-clean

<p>Property changes on: trunk/theora/doc/spec/Makefile
___________________________________________________________________
Name: svn:executable
   + *

--- >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