summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatoshi Taoka <taoka@FreeBSD.org>1999-09-29 07:31:01 +0000
committerSatoshi Taoka <taoka@FreeBSD.org>1999-09-29 07:31:01 +0000
commit7dcd773f778c88689968566f52153bbcb4c56429 (patch)
treeada5401e3ae615a1bcc2572d85f5c921dc3e40ac
parentDon't try to get the GCC-2.7.2.1 sources from "/usr/src". They (diff)
Fix compile error
Create MANIFEST.yatex correctly
-rw-r--r--print/yatex/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/print/yatex/Makefile b/print/yatex/Makefile
index fb49fd5d0c33..a921799649e2 100644
--- a/print/yatex/Makefile
+++ b/print/yatex/Makefile
@@ -119,22 +119,23 @@ do-build:
.endif
do-install:
- (cd ${WRKSRC}; \
+ cd ${WRKSRC}; \
${MKDIR} ${ELISPDIR}/yatex; \
${MKDIR} ${HELPDIR} ${INFODIR}; \
${INSTALL_DATA} ${EL_FILES} ${ELISPDIR}/yatex; \
${INSTALL_DATA} ${HELP} ${HELPDIR}; \
- ${MKDIR} ${INFODIR}; \
+ ${MKDIR} ${INFODIR}
.if defined(XEMACS) || defined(XEMACS-MULE)
+ cd ${WRKSRC}; \
for file in `${ECHO} ${INFOFILES} | ${SED} "s,:, ,g"`; do \
${INSTALL_DATA} ${WRKSRC}/docs/$${file} ${INFODIR}.info; \
- done; \
+ done
.else
+ cd ${WRKSRC}; \
for file in `${ECHO} ${INFOFILES} | ${SED} "s,:, ,g"`; do \
${INSTALL_DATA} ${WRKSRC}/docs/$${file} ${INFODIR}; \
- done; \
+ done
.endif
- )
.if !defined(NOPORTDOCS)
${MKDIR} ${PORTSDOCDIR}
cd ${WRKSRC}; ${INSTALL_DATA} ${NEW} ${DOCSRC} ${PORTSDOCDIR}
@@ -151,7 +152,7 @@ post-install:
${RM} -f ${WRKDIR}/${MANIFEST}
emacsdir=`${ECHO} ${EMACSDIR} | ${SED} -e "s;^${PREFIX}/;;"`; \
${CAT} ${PLIST} | ${GREP} -e "^$${emacsdir}" | \
- ${SED} -e "s;^${EMACSDIR}/;;" > ${WRKDIR}/${MANIFEST}
+ ${SED} -e "s;^$${emacsdir}/;;" > ${WRKDIR}/${MANIFEST}
${MKDIR} ${EMACSDIR}/pkginfo
${INSTALL_DATA} ${WRKDIR}/${MANIFEST} \
${EMACSDIR}/pkginfo/