summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-05-03 18:50:05 +0000
committerjmmv <jmmv>2003-05-03 18:50:05 +0000
commitef57f46439393175c8042a86df7c68246ea842ee (patch)
tree24e7d269333d3f79e96b39a42b433223b63b2abd /textproc
parent799e2433f1b3f510eeff299aae01cdb08ec347a6 (diff)
downloadpkgsrc-ef57f46439393175c8042a86df7c68246ea842ee.tar.gz
Remove ".orig" files from the work directory before installing the package,
so they don't get copied. Use pax's -pm flag so that "make print-PLIST" works.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/docbook-website/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/textproc/docbook-website/Makefile b/textproc/docbook-website/Makefile
index 7b53aef4ff1..ffbea200c65 100644
--- a/textproc/docbook-website/Makefile
+++ b/textproc/docbook-website/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2003/04/10 01:28:25 grant Exp $
+# $NetBSD: Makefile,v 1.7 2003/05/03 18:50:05 jmmv Exp $
#
DISTNAME= website-2.3
@@ -24,13 +24,14 @@ EGDIR= ${PREFIX}/share/examples/docbook-website
XML_CATALOGS= ${DTDDIR}/catalog
do-install:
+ cd ${WRKSRC} && ${FIND} . -name "*.orig" -exec ${RM} {} \;
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA_DIR} ${DTDDIR}
${INSTALL_DATA_DIR} ${EGDIR}
- cd ${WRKSRC} && ${PAX} -rw ChangeLog README VERSION WhatsNew \
+ cd ${WRKSRC} && ${PAX} -rwpm ChangeLog README VERSION WhatsNew \
${DOCDIR}
- cd ${WRKSRC}/example && ${PAX} -rw . ${EGDIR}
- cd ${WRKSRC} && ${PAX} -rw VERSION extensions xsl *.dtd *.mod \
+ cd ${WRKSRC}/example && ${PAX} -rwpm . ${EGDIR}
+ cd ${WRKSRC} && ${PAX} -rwpm VERSION extensions xsl *.dtd *.mod \
${DTDDIR}
${INSTALL_DATA} ${FILESDIR}/catalog ${DTDDIR}/catalog