summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorSatoshi Taoka <taoka@FreeBSD.org>1999-09-29 08:53:26 +0000
committerSatoshi Taoka <taoka@FreeBSD.org>1999-09-29 08:53:26 +0000
commit0a9b4bfd52c6ca714147ff9da76ebd9197ab8bd2 (patch)
treec25126065d565661361f2ae380522432173eeda2 /print
parentCreate MANIFEST.lookup correctly (diff)
Cannot make by an error of INSTALL
Noticed by: asami
Notes
Notes: svn path=/head/; revision=22065
Diffstat (limited to 'print')
-rw-r--r--print/yatex/Makefile2
-rw-r--r--print/yatex/files/INSTALL.tmpl2
2 files changed, 3 insertions, 1 deletions
diff --git a/print/yatex/Makefile b/print/yatex/Makefile
index a921799649e2..41f1dab14dbc 100644
--- a/print/yatex/Makefile
+++ b/print/yatex/Makefile
@@ -40,10 +40,12 @@ INFODIR= ${EMACSDIR}/info
PLIST= ${PKGDIR}/PLIST.xemacs-mule
MANIFEST= MANIFEST.yatex
.elif defined(MULE)
+EMACS= mule
EMACSDIR= ${PREFIX}/share/mule
INFODIR= ${PREFIX}/info
PLIST= ${PKGDIR}/PLIST.mule
.else
+EMACS= emacs
EMACSDIR= ${PREFIX}/share/emacs
INFODIR= ${PREFIX}/info
PLIST= ${PKGDIR}/PLIST.emacs
diff --git a/print/yatex/files/INSTALL.tmpl b/print/yatex/files/INSTALL.tmpl
index fd33fb2b64a1..777d3e4a48bc 100644
--- a/print/yatex/files/INSTALL.tmpl
+++ b/print/yatex/files/INSTALL.tmpl
@@ -40,7 +40,7 @@ if [ "X$2" = X"POST-INSTALL" ]; then
fi
count=`${EXPR} $count + 1`
done
- if [ %%EMACS%% != xemacs ]; then
+ if [ X%%EMACS%% != Xxemacs ]; then
${ECHO} "Adding entry for \"${pkgname}\" to ${infodir}/dir"
for file in `${ECHO} ${infofiles} | ${SED} "s,:, ,g"`; do
install-info ${infodir}/${file} ${infodir}/dir