summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-06-12 02:19:32 +0000
committergrant <grant@pkgsrc.org>2004-06-12 02:19:32 +0000
commitfd391b8fab2bd387b0627435a34d7be9fb4cccab (patch)
tree3df3761769132041e263ee5963795453a94b7d3a /devel
parent085d57aeb65de93950bb1c6691a8de6296dc7862 (diff)
downloadpkgsrc-fd391b8fab2bd387b0627435a34d7be9fb4cccab.tar.gz
make sure the destination directory exists before trying to install
files into it.
Diffstat (limited to 'devel')
-rw-r--r--devel/buildtool-doc/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/buildtool-doc/Makefile b/devel/buildtool-doc/Makefile
index b22447bc4cc..e8103208cf6 100644
--- a/devel/buildtool-doc/Makefile
+++ b/devel/buildtool-doc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2004/04/25 10:05:15 jmmv Exp $
+# $NetBSD: Makefile,v 1.8 2004/06/12 02:19:32 grant Exp $
#
DISTNAME= buildtool-doc-0.15
@@ -21,6 +21,9 @@ BUILDLINK_DEPMETHOD.libxml2?= build
BUILDLINK_DEPMETHOD.libxslt?= build
BUILDLINK_DEPMETHOD.xmlcatmgr?= build
+pre-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${DISTNAME}
+
.include "../../devel/buildtool/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"