From 54628c7504a72fb5b01c7e511a6d23016d4a2b05 Mon Sep 17 00:00:00 2001 From: jtb Date: Sat, 28 Apr 2001 23:59:17 +0000 Subject: Remove redundant echoing, quoting, and input redirection to sed. --- devel/haskell-mode/Makefile | 10 ++++------ devel/libctl/Makefile | 13 ++++--------- 2 files changed, 8 insertions(+), 15 deletions(-) (limited to 'devel') diff --git a/devel/haskell-mode/Makefile b/devel/haskell-mode/Makefile index 3e41d50dbc7..1041937d475 100644 --- a/devel/haskell-mode/Makefile +++ b/devel/haskell-mode/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2001/04/14 21:43:40 jtb Exp $ +# $NetBSD: Makefile,v 1.5 2001/04/28 23:59:18 jtb Exp $ DISTNAME= haskell-mode-20001129 CATEGORIES= devel editors @@ -22,7 +22,7 @@ EMACS= emacs LISPDIR= share/emacs/site-lisp/haskell-mode .endif -PLIST_SUBST+= LISPDIR="${LISPDIR}" +PLIST_SUBST+= LISPDIR=${LISPDIR} SRCS= haskell-doc.el haskell-mode.el haskell-font-lock.el \ haskell-simple-indent.el haskell-hugs.el haskell-decl-scan.el \ @@ -35,9 +35,7 @@ do-build: do-install: ${INSTALL_DATA_DIR} ${PREFIX}/${LISPDIR} - @for f in ${SRCS} ${SRCS:.el=.elc} ; do \ - i="${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/${LISPDIR}"; \ - ${ECHO} $$i; $$i; \ - done + cd ${WRKSRC} && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} \ + ${PREFIX}/${LISPDIR} .include "../../mk/bsd.pkg.mk" diff --git a/devel/libctl/Makefile b/devel/libctl/Makefile index 490917495a8..9c76d5f1f49 100644 --- a/devel/libctl/Makefile +++ b/devel/libctl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2001/04/14 21:43:40 jtb Exp $ +# $NetBSD: Makefile,v 1.9 2001/04/28 23:59:18 jtb Exp $ DISTNAME= libctl-1.4 CATEGORIES= devel @@ -14,13 +14,8 @@ GNU_CONFIGURE= #defined post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libctl - @for f in ${WRKSRC}/doc/*; do \ - i="${INSTALL_DATA} $$f ${PREFIX}/share/doc/libctl/"; \ - ${ECHO} $$i; $$i; \ - done - @for f in COPYING COPYRIGHT ChangeLog NEWS README ; do \ - i="${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/doc/libctl/"; \ - ${ECHO} $$i; $$i; \ - done + ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/libctl/ + cd ${WRKSRC} && ${INSTALL_DATA} COPYING COPYRIGHT ChangeLog \ + NEWS README ${PREFIX}/share/doc/libctl/ .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3