summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-10-21 14:37:06 +0000
committergrant <grant@pkgsrc.org>2004-10-21 14:37:06 +0000
commit07026e39d015771ec8f44d9fefccd5959b085dce (patch)
treea5902f42b91ded617be9b1bf2d38f2b8563d4578 /doc
parent798a931bb4ab35d36ad4fe7903f4ab0d5c13d552 (diff)
downloadpkgsrc-07026e39d015771ec8f44d9fefccd5959b085dce.tar.gz
make WRKSRC more appropriate. delete pkgsrc.tmp.html (for now) so it
doesn't get installed.
Diffstat (limited to 'doc')
-rw-r--r--doc/guide/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/guide/Makefile b/doc/guide/Makefile
index 17b965eb321..a19e596ba4a 100644
--- a/doc/guide/Makefile
+++ b/doc/guide/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/10/21 14:27:37 grant Exp $
+# $NetBSD: Makefile,v 1.2 2004/10/21 14:37:06 grant Exp $
#
DISTNAME= htdocs-share-20041021
@@ -19,6 +19,8 @@ NO_CONFIGURE= # defined
NO_MTREE= # defined
USE_LANGUAGES= # empty
+WRKSRC= ${WRKDIR}/${PKGNAME}
+
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
DOCDIR= ${PREFIX}/share/doc/pkgsrc
@@ -62,6 +64,9 @@ do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} ${_output_}
.endfor
+post-build:
+ @${RM} -f ${WRKSRC}/pkgsrc.tmp.html
+
do-install:
${INSTALL_DATA_DIR} ${DOCDIR}
.if !empty(OUTPUTS:Mhtml) || !empty(OUTPUTS:Mhtml-split)