Permalink
Browse files

Remove ".orig" files from the work directory before installing the pa…

…ckage,

so they don't get copied.
Use pax's -pm flag so that "make print-PLIST" works.
  • Loading branch information...
1 parent 0f00798 commit 17471ee19440d12d76d82e86d493a2d0a1641675 jmmv committed May 3, 2003
Showing with 5 additions and 4 deletions.
  1. +5 −4 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

0 comments on commit 17471ee

Please sign in to comment.