pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/doc/guide make WRKSRC more appropriate. delete pkgsrc....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/70286f351ea6
branches:  trunk
changeset: 482182:70286f351ea6
user:      grant <grant%pkgsrc.org@localhost>
date:      Thu Oct 21 14:37:06 2004 +0000

description:
make WRKSRC more appropriate. delete pkgsrc.tmp.html (for now) so it
doesn't get installed.

diffstat:

 doc/guide/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r cb080fdeefd4 -r 70286f351ea6 doc/guide/Makefile
--- a/doc/guide/Makefile        Thu Oct 21 14:27:36 2004 +0000
+++ b/doc/guide/Makefile        Thu Oct 21 14:37:06 2004 +0000
@@ -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_MTREE=              # defined
 USE_LANGUAGES=         # empty
 
+WRKSRC=                        ${WRKDIR}/${PKGNAME}
+
 PLIST_SRC=             ${WRKDIR}/PLIST_DYNAMIC
 DOCDIR=                        ${PREFIX}/share/doc/pkgsrc
 
@@ -62,6 +64,9 @@
        @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)



Home | Main Index | Thread Index | Old Index