summaryrefslogtreecommitdiff
path: root/japanese/platex-common/Makefile
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1996-09-26 04:46:07 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1996-09-26 04:46:07 +0000
commitc576d637068ce2e81f29e768b2ee21d34436af09 (patch)
treedb90f838df2b99c07a6a671a944436cfb62ae9a3 /japanese/platex-common/Makefile
parentUpgrade to 1.07 (diff)
Use ${INSTALL_DATA} instead of cp to install files.
Also some minor changes in do-install:. (Result of make install doesn't change, though.)
Notes
Notes: svn path=/head/; revision=3874
Diffstat (limited to 'japanese/platex-common/Makefile')
-rw-r--r--japanese/platex-common/Makefile46
1 files changed, 25 insertions, 21 deletions
diff --git a/japanese/platex-common/Makefile b/japanese/platex-common/Makefile
index 6a1580c746a5..d56c01da547a 100644
--- a/japanese/platex-common/Makefile
+++ b/japanese/platex-common/Makefile
@@ -3,7 +3,7 @@
# Date created: 5 Nov 1995
# Whom: Hideaki Ohmon <ohmon@sfc.keio.ac.jp>
#
-# $Id: Makefile,v 1.6 1996/09/17 15:07:47 max Exp $
+# $Id: Makefile,v 1.7 1996/09/21 07:50:17 max Exp $
#
DISTNAME= platex2e
@@ -68,30 +68,34 @@ post-extract:
do-build:
@(cd ${WRKDIR}/base ; yes | initex unpack.ins ; initex latex.ltx)
@(cd ${WRKSRC} ; TEXINPUTS=".:${WRKDIR}/base" ; export TEXINPUTS ; \
- yes | iniptex plcore.ins ; iniptex platex.ltx)
+ yes | iniptex plcore.ins ; iniptex platex.ltx)
do-install:
@rm -rf ${PREFIX}/lib/texmf/tex/latex2e/base/*
- @(if [ ! -d ${PREFIX}/lib/texmf/tex/latex2e ]; then \
- mkdir ${PREFIX}/lib/texmf/tex/latex2e ;\
- fi)
- @(if [ ! -d ${PREFIX}/lib/texmf/tex/latex2e/base ]; then \
- mkdir ${PREFIX}/lib/texmf/tex/latex2e/base; \
- fi)
- @(cd ${WRKDIR}/base ; cp -f *.cls *.clo *.sty *.fd *.def *.ltx \
- ${PREFIX}/lib/texmf/tex/latex2e/base ; \
- cp latex.fmt ${PREFIX}/lib/texmf/ini)
- @rm -f ${PREFIX}/bin/latex
+ @(if [ ! -d ${PREFIX}/lib/texmf/tex/latex2e ]; then \
+ mkdir ${PREFIX}/lib/texmf/tex/latex2e ; \
+ fi)
+ @(if [ ! -d ${PREFIX}/lib/texmf/tex/latex2e/base ]; then \
+ mkdir ${PREFIX}/lib/texmf/tex/latex2e/base; \
+ fi)
+ (cd ${WRKDIR}/base ; \
+ for f in *.cls *.clo *.sty *.fd *.def *.ltx ; do \
+ ${INSTALL_DATA} $$f ${PREFIX}/lib/texmf/tex/latex2e/base ; \
+ done ; \
+ ${INSTALL_DATA} latex.fmt ${PREFIX}/lib/texmf/ini)
+ @rm -f ${PREFIX}/bin/latex
@ln -s ${PREFIX}/bin/virtex ${PREFIX}/bin/latex
- @(if [ ! -d ${PREFIX}/lib/texmf/tex/platex2e ] ; then \
- mkdir ${PREFIX}/lib/texmf/tex/platex2e ;\
- fi)
- @(if [ ! -d ${PREFIX}/lib/texmf/tex/platex2e/base ]; then \
- mkdir ${PREFIX}/lib/texmf/tex/platex2e/base ;\
- fi)
- @(cd ${WRKSRC} ; cp -f *.cls *.clo *.sty *.fd *.def *.ltx *.cfg \
- ${PREFIX}/lib/texmf/tex/platex2e/base ; \
- cp -f platex.fmt ${PREFIX}/lib/texmf/ini)
+ @(if [ ! -d ${PREFIX}/lib/texmf/tex/platex2e ] ; then \
+ mkdir ${PREFIX}/lib/texmf/tex/platex2e ; \
+ fi)
+ @(if [ ! -d ${PREFIX}/lib/texmf/tex/platex2e/base ]; then \
+ mkdir ${PREFIX}/lib/texmf/tex/platex2e/base ; \
+ fi)
+ (cd ${WRKSRC} ; \
+ for f in *.cls *.clo *.sty *.fd *.def *.ltx *.cfg ; do \
+ ${INSTALL_DATA} $$f ${PREFIX}/lib/texmf/tex/platex2e/base ; \
+ done ; \
+ ${INSTALL_DATA} platex.fmt ${PREFIX}/lib/texmf/ini)
@rm -f ${PREFIX}/bin/platex
@ln -s ${PREFIX}/bin/virptex ${PREFIX}/bin/platex