summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/soul/Makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-11 23:03:17 +0000
committerKarl Berry <karl@freefriends.org>2006-01-11 23:03:17 +0000
commitecf966f305f6aeff2bbdf42c82d8425921aa9eda (patch)
treedb606a57e3619610e4c35cae849d41cf4e0937d5 /Master/texmf-dist/source/latex/soul/Makefile
parentac3c55a3216b5988f0e48ba9414ddb059f19a699 (diff)
source 1
git-svn-id: svn://tug.org/texlive/trunk@105 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/soul/Makefile')
-rw-r--r--Master/texmf-dist/source/latex/soul/Makefile57
1 files changed, 57 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/soul/Makefile b/Master/texmf-dist/source/latex/soul/Makefile
new file mode 100644
index 00000000000..1a0103f695c
--- /dev/null
+++ b/Master/texmf-dist/source/latex/soul/Makefile
@@ -0,0 +1,57 @@
+# $Id: Makefile,v 1.7 2003/06/22 09:23:35 m Rel $
+
+NAME=soul
+ARCHNAME=$(NAME).tar.gz
+ARCHIVE=$(NAME).dtx Makefile $(NAME).txt $(NAME).ins
+MAKEIDXOPT=
+DVIPSOPT=#-Pcmz -Pamz
+DEP=$(NAME).sty
+
+all: $(NAME).sty $(NAME).ps
+
+print: $(NAME).ps
+ psbook $(NAME).ps|psnup -2|psselect -e|lpr
+ @ echo -n revert paper stack and hit return
+ @ read key
+ psbook $(NAME).ps|psnup -2|psselect -o -r|lpr
+
+ps: $(NAME).ps
+
+%.ps: %.dvi
+ dvips $(DVIPSOPT) $< -o $@
+
+hyper: $(NAME).dtx $(NAME).sty
+ pdflatex "\relax\let\makehyperref\active\input $(NAME).dtx"
+
+$(NAME).pdf: $(NAME).dtx $(NAME).sty
+ pdflatex $(NAME).dtx
+
+archive:
+ @ tar -czf $(ARCHNAME) $(ARCHIVE)
+ @ echo $(ARCHNAME)
+
+clean:
+ rm -f $(NAME).{log,toc,lot,lof,idx,ilg,ind,aux,blg,bbl,dvi,ins,out}
+
+distclean: clean
+ rm -f $(NAME).{ps,sty,pdf} $(ARCHNAME)
+
+
+REFWARN = 'Rerun to get cross-references'
+LATEXMAX = 5
+
+%.dvi: %.dtx $(DEP)
+ latex $< ; true
+ RUNS=$(LATEXMAX); \
+ while [ $$RUNS -gt 0 ] ; do \
+ if grep $(REFWARN) $*.log > /dev/null; \
+ then latex $< ; else break; fi; \
+ RUNS=`expr $$RUNS - 1`; \
+ done
+
+$(NAME).sty: $(NAME).ins soul.dtx
+ tex $(NAME).ins
+
+$(NAME).ins:
+ latex $(NAME).dtx
+