diff options
author | P. J. McDermott <pjm@nac.net> | 2012-07-28 07:53:02 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-07-28 07:53:02 (EDT) |
commit | de9921ff0ae2990308b85bb67810e734350f670a (patch) | |
tree | 784143cc1fa94184a60f02c653586e3dca663457 /build | |
parent | cf0a50c4980f0d05c3bb45a885a5269ee9bcedf8 (diff) |
Clean up empty directories.
Diffstat (limited to 'build')
-rwxr-xr-x | build | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |