[subversion-commit] SVN tetex-src commit + diffs: r1772 -
tetex-src/trunk
Frank Küster
frank at costa.debian.org
Tue Oct 10 12:02:42 UTC 2006
Author: frank
Date: 2006-10-10 12:02:41 +0000 (Tue, 10 Oct 2006)
New Revision: 1772
Added:
tetex-src/trunk/Makefile
Log:
resurrecting some files that magically disappeared
Copied: tetex-src/trunk/Makefile (from rev 1771, tetex-src/tags/debian_version_3.0-3/Makefile)
===================================================================
--- tetex-src/trunk/Makefile (rev 0)
+++ tetex-src/trunk/Makefile 2006-10-10 12:02:41 UTC (rev 1772)
@@ -0,0 +1,51 @@
+#!/usr/bin/make
+
+# Makefile to create source2.dtx with hyperref extensions
+# Copyright 2005 Frank Küster <frank at kuesterei.ch>
+# This file is in the public domain, you can freely use,
+# distribute and/or modify it
+
+all: source2e/source2e.pdf
+
+source2e/source2e.pdf: setup-source2e source2e/source2e.tex
+ (cd source2e; $(createpdf))
+
+source2e/hypdoc.sty: source2e hypdoc/hypdoc.dtx
+ cd hypdoc; tex hypdoc.dtx
+ mv hypdoc/hypdoc.sty source2e
+
+hypdoc/hypdoc.dtx: hypdoc/hypdoc.pdf
+ cd hypdoc; pdftk hypdoc.pdf unpack_files output .
+
+hypdoc/hypdoc.pdf.uu:
+ uuencode < hypdoc/hypdoc.pdf hypdoc/hypdoc.pdf.uu > hypdoc/hypdoc.pdf.uu
+ rm hypdoc/hypdoc.pdf
+
+hypdoc/hypdoc.pdf:
+ uudecode -o hypdoc/hypdoc.pdf hypdoc/hypdoc.pdf.uu
+
+setup-source2e: source2e patch-stamp
+
+patch-stamp: source2e source2e/hypdoc.sty
+ patch -p0 -i hypdoc/source2e-hypdoc.patch
+ touch patch-stamp
+
+source2e:
+ cp -a source/latex/base source2e
+# (cd hypdoc; latex hypdoc.ins)
+# mv hypdoc/hypdoc.sty source2e/
+
+
+clean:
+ rm -rf source2e
+ -rm hypdoc/hypdoc.drv hypdoc/hypdoc.ins hypdoc/hypdoc.log hypdoc/hypdoc.dtx
+ -rm patch-stamp
+
+
+define createpdf
+pdflatex source2e; \
+makeindex -s source2e.ist source2e.idx; \
+makeindex -s gglo.ist -o source2e.gls source2e.glo; \
+pdflatex source2e; \
+pdflatex source2e
+endef
More information about the Pkg-tetex-commits
mailing list