Create the directory ${PREFIX}/share/pixmaps before trying to install files

inside it. Discovered by dmcmahill.
This commit is contained in:
jmmv 2002-12-08 21:11:17 +00:00
parent 4e7b759367
commit e5ff9acce6

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2002/10/19 10:54:53 rh Exp $ # $NetBSD: Makefile,v 1.8 2002/12/08 21:11:17 jmmv Exp $
# #
DISTNAME= gnome-desktop-2.0.8 DISTNAME= gnome-desktop-2.0.8
@ -28,6 +28,7 @@ NO_BUILD= YES
DSTDIR= ${PREFIX}/share/pixmaps DSTDIR= ${PREFIX}/share/pixmaps
do-install: do-install:
${INSTALL_DATA_DIR} ${DSTDIR}
cd ${WRKSRC}/pixmaps && \ cd ${WRKSRC}/pixmaps && \
for i in *.png *.xpm ; do \ for i in *.png *.xpm ; do \
${INSTALL_DATA} $$i ${DSTDIR} ; \ ${INSTALL_DATA} $$i ${DSTDIR} ; \