From de9921ff0ae2990308b85bb67810e734350f670a Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 28 Jul 2012 07:53:02 -0400 Subject: Clean up empty directories. --- (limited to 'build') diff --git a/build b/build index c22ff91..cea1ea2 100755 --- a/build +++ b/build @@ -80,7 +80,9 @@ install.stamp: build mv "dest/usr/$(OH_HOST_ARCH_GNU)/$${target_arch_gnu}/include" \ "dest/usr/include/$(OH_HOST_ARCH)/$${target}" && \ mv "dest/usr/$(OH_HOST_ARCH_GNU)/$${target_arch_gnu}/lib" \ - "dest/usr/lib/$(OH_HOST_ARCH)/$${target}"; \ + "dest/usr/lib/$(OH_HOST_ARCH)/$${target}" && \ + rmdir "dest/usr/$(OH_HOST_ARCH_GNU)/$${target_arch_gnu}" && \ + rmdir "dest/usr/$(OH_HOST_ARCH_GNU)"; \ done # Remove static library dependency metadata generated by libtool. rm -f dest/usr/lib/$(OH_HOST_ARCH)/*.la -- cgit v0.9.1