[mygui] install -D doesn't seem to create directories in the path.

Bruno Wolff III bruno at fedoraproject.org
Sat Jan 8 04:00:10 UTC 2011


commit 749366f308c2d1b38b3012f63b91eddcfeae9546
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Fri Jan 7 21:58:09 2011 -0600

    install -D doesn't seem to create directories in the path.

 mygui.spec |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/mygui.spec b/mygui.spec
index 701e1fc..3b42ffe 100644
--- a/mygui.spec
+++ b/mygui.spec
@@ -130,6 +130,7 @@ popd
 rm -rf %{buildroot}
 make install DESTDIR=%{buildroot} INSTALL="install -p"
 # install missing headers
+mkdir -p %{buildroot}/%{_includedir}/MyGUI/
 install -Dp -m 644 MyGUIEngine/include/*Alloc*.h %{buildroot}/%{_includedir}/MyGUI/
 install -Dp -m 644 Platforms/Ogre/OgrePlatform/include/* %{buildroot}/%{_includedir}/MyGUI/
 


More information about the scm-commits mailing list