diff options
author | Norbert Preining <norbert@preining.info> | 2020-10-01 03:04:13 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-10-01 03:04:13 +0000 |
commit | d2a6bb90e56a2836bb59477b8f27248aab9149f5 (patch) | |
tree | 5d6be29a531495452688a3c8456355fa58d485f2 /macros/generic/soul/Makefile | |
parent | 36f406d8d1fc994af516d837e6a87c68839cdb2d (diff) |
CTAN sync 202010010304
Diffstat (limited to 'macros/generic/soul/Makefile')
-rw-r--r-- | macros/generic/soul/Makefile | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/macros/generic/soul/Makefile b/macros/generic/soul/Makefile new file mode 100644 index 0000000000..1a0103f695 --- /dev/null +++ b/macros/generic/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 + |