packages/libxml/libxml2: Create the directory before staging files into it.
authorHolger Freyther <zecke@selfish.org>
Wed, 24 Oct 2007 14:54:14 +0000 (14:54 +0000)
committerHolger Freyther <zecke@selfish.org>
Wed, 24 Oct 2007 14:54:14 +0000 (14:54 +0000)
packages/libxml/libxml2_2.6.29.bb

index 6904031..521ba16 100644 (file)
@@ -14,9 +14,12 @@ export LDFLAGS += "-ldl"
 
 do_stage() {
        autotools_stage_all
-       install -m 0644 libxml.m4 ${STAGING_DATADIR}/aclocal/
-        #this is need it by php during its install
-        install -m 0755 xml2-config ${STAGING_BINDIR_CROSS}
+       install -d ${STAGING_DATADIR}/aclocal/
+       install -d ${STAGING_BINDIR_CROSS}
+
+       install -m 0644 libxml.m4 ${STAGING_DATADIR}/aclocal/
+       #this is need it by php during its install
+       install -m 0755 xml2-config ${STAGING_BINDIR_CROSS}
 }
 
 python populate_packages_prepend () {