summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/latex2man/Makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-04-16 22:17:27 +0000
committerKarl Berry <karl@freefriends.org>2017-04-16 22:17:27 +0000
commite2f647f28d1d99392613d28f7b1a751a57f7bbd1 (patch)
tree2776aade78e1a3a4107ef38cc0c4284727d411bc /Master/texmf-dist/doc/support/latex2man/Makefile
parent90a31c615c9b36d2dd5fff3ab99ba6760b9dbb78 (diff)
latex2man (14apr17)
git-svn-id: svn://tug.org/texlive/trunk@43855 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/support/latex2man/Makefile')
-rw-r--r--Master/texmf-dist/doc/support/latex2man/Makefile24
1 files changed, 12 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/support/latex2man/Makefile b/Master/texmf-dist/doc/support/latex2man/Makefile
index 8a957ff4507..46addf65c52 100644
--- a/Master/texmf-dist/doc/support/latex2man/Makefile
+++ b/Master/texmf-dist/doc/support/latex2man/Makefile
@@ -1,7 +1,7 @@
# Project: Documentation Tools
# Descr: Latex --> MAN-page (groff -man), Makefile
# Author: Dr. Jürgen Vollmer, Juergen.Vollmer@informatik-vollmer.de
-# $Id: Makefile,v 1.110 2010/12/22 12:46:25 vollmer Exp $
+# $Id: Makefile,v 1.121 2017/04/13 14:47:10 vollmer Exp $
BASE = latex2man
@@ -23,8 +23,8 @@ EX = --exclude "*.o" --exclude core --exclude "*.tar.gz" --exclude "*~" \
--exclude "*.a" --exclude "*.php"
EXrcs = $(EX) --exclude "*/RCS/*" --exclude "*/RCS"
-VERSION = 1.24
-V_DATE = 2010/12/22
+VERSION = 1.25
+V_DATE = 2017/04/13
latex2man = ./latex2man
D = $
@@ -43,12 +43,13 @@ all: $(BASE).1 $(BASE).html $(BASE).texi $(BASE).info $(BASE).txt $(BASE).pdf
dvips -o $*.ps $*.dvi
%.pdf: %.tex
- rm -f /tmp/$*.tex /tmp/$*.pdf /tmp/$*.aux /tmp/$*.toc /tmp/$*.log /tmp/$*.sty
- (cp $*.tex $*.sty /tmp && \
- cd /tmp && \
- pdflatex $*.tex && \
- pdflatex $*.tex);
- mv /tmp/$*.pdf .
+ T=/tmp/$*-$$$$; mkdir $$T && \
+ ( \
+ cp $*.tex $*.sty $*.inc $$T && \
+ cd $$T && \
+ pdflatex $*.tex && \
+ pdflatex $*.tex); \
+ mv $$T/$*.pdf .
%.info: %.texi
makeinfo $*.texi
@@ -170,7 +171,7 @@ src-tar:
dist:
rm -f THIS-IS-VERSION-*
- @- co -l latex2man latex2man.tex latex2man.sty README
+ @- co -l latex2man latex2man.tex latex2man.inc latex2man.sty README
@rm -f .xxx; cp latex2man .xxx
@sed < .xxx -e 's/$VERSION = .*/$VERSION = "$(VERSION)";/' > latex2man
@rm -f .xxx; cp latex2man.tex .xxx
@@ -184,7 +185,7 @@ dist:
rm -f .xxx; cp README .xxx
@sed < .xxx -e 's/^VERSION:.*/VERSION: $(VERSION)/' > README
@rm -f .xxx
- ci -u -m"Distribution" latex2man latex2man.tex latex2man.sty README
+ ci -u -m"Distribution" latex2man latex2man.tex latex2man.inc latex2man.sty README
- $(MAKE) realclean all
@echo "VERSION $(VERSION) DATE=$(V_DATE)" > THIS-IS-VERSION-$(VERSION)
@cd ..; tar $(EXrcs) -czvf $(BASE)/$(TAR_DIST) \
@@ -224,4 +225,3 @@ diff:
@echo
for i in RCS/* ; do [ -f `basename $$i ,v` ] && rcsdiff -q $$i; done
@echo
-