From b941bc40e0e2ca596ea814c310885d594de36114 Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 8 Sep 1999 03:08:02 +0000 Subject: Fix installation of example files. --- print/stylewriter/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'print/stylewriter') diff --git a/print/stylewriter/Makefile b/print/stylewriter/Makefile index 085f62200aa..76c4261000f 100644 --- a/print/stylewriter/Makefile +++ b/print/stylewriter/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 1999/09/04 15:56:04 jlam Exp $ +# $NetBSD: Makefile,v 1.2 1999/09/08 03:08:02 jlam Exp $ # DISTNAME= stylewriter @@ -46,13 +46,14 @@ post-install: done ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/stylewriter - for PRINTCAP in printcap printcap.a4; do \ + (cd ${WRKSRC}; \ + for PRINTCAP in printcap printcap.a4; do \ ${SED} ${PRINTCAP_SED} \ < $${PRINTCAP} > ${WRKDIR}/$${PRINTCAP}; \ ${INSTALL_DATA} ${WRKDIR}/$${PRINTCAP} \ ${PREFIX}/share/examples/stylewriter; \ ${RM} ${WRKDIR}/$${PRINTCAP}; \ - done + done) ${INSTALL_DATA} ${WRKSRC}/styl.ppd ${PREFIX}/share/examples/stylewriter ${INSTALL_DATA_DIR} /var/spool/lpd/stylps -- cgit v1.2.3