No need to create ${PORTINFORDIR}/dir explicitly -- install-info does it for

you.

Besides, the check was incorrect, causing the dir file to be always wiped out!
This commit is contained in:
Satoshi Asami 1999-09-11 10:02:24 +00:00
parent c777255c41
commit 6c805fc586
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=21657
3 changed files with 0 additions and 9 deletions

View file

@ -51,9 +51,6 @@ do-install:
${RM} ${ELISPDIR}/lookup-compile.el
${SED} -e 's,@VERSION@,1.0,' -e 's,@pkgemacsdir@,${ELISPDIR},' \
${WRKSRC}/lisp/lookup-vars.el.in > ${ELISPDIR}/lookup-vars.el
@if [ ! -f ${PORTINFODIR}/info/dir ]; then \
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PORTINFODIR}/dir; \
fi
install-info ${PORTINFODIR}/lookup.info ${PORTINFODIR}/dir
${SED} -e 's,%%ELISPDIR%%,${ELISPDIR},' ${FILESDIR}/lookup-startup.el.tmpl > ${ELISPDIR}/../lookup-startup.el

View file

@ -51,9 +51,6 @@ do-install:
${RM} ${ELISPDIR}/lookup-compile.el
${SED} -e 's,@VERSION@,1.0,' -e 's,@pkgemacsdir@,${ELISPDIR},' \
${WRKSRC}/lisp/lookup-vars.el.in > ${ELISPDIR}/lookup-vars.el
@if [ ! -f ${PORTINFODIR}/info/dir ]; then \
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PORTINFODIR}/dir; \
fi
install-info ${PORTINFODIR}/lookup.info ${PORTINFODIR}/dir
${SED} -e 's,%%ELISPDIR%%,${ELISPDIR},' ${FILESDIR}/lookup-startup.el.tmpl > ${ELISPDIR}/../lookup-startup.el

View file

@ -51,9 +51,6 @@ do-install:
${RM} ${ELISPDIR}/lookup-compile.el
${SED} -e 's,@VERSION@,1.0,' -e 's,@pkgemacsdir@,${ELISPDIR},' \
${WRKSRC}/lisp/lookup-vars.el.in > ${ELISPDIR}/lookup-vars.el
@if [ ! -f ${PORTINFODIR}/info/dir ]; then \
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PORTINFODIR}/dir; \
fi
install-info ${PORTINFODIR}/lookup.info ${PORTINFODIR}/dir
${SED} -e 's,%%ELISPDIR%%,${ELISPDIR},' ${FILESDIR}/lookup-startup.el.tmpl > ${ELISPDIR}/../lookup-startup.el