summaryrefslogtreecommitdiff
path: root/doc/guide/Makefile
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
commit57fe4c208752c752acaab16b89ea15128446f147 (patch)
treea5902f42b91ded617be9b1bf2d38f2b8563d4578 /doc/guide/Makefile
parent993557136874c37faa801471e150e41a35d64f66 (diff)
downloadpkgsrc-57fe4c208752c752acaab16b89ea15128446f147.tar.gz
make WRKSRC more appropriate. delete pkgsrc.tmp.html (for now) so it
doesn't get installed.
Diffstat (limited to 'doc/guide/Makefile')
-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)