Make sure the target dir exists before copying to it.

Parallel builds (make -j4) were failing because the installation directory
wasn't guaranteed to exist before we tried copying files to it.
This commit is contained in:
Forest
2014-09-08 11:11:28 -07:00
parent e8a56b17e3
commit bdaf0542f8
+1 -1
View File
@@ -31,8 +31,8 @@ install-exec-hook:
$(INSTALL) $(installFiles) "$(DESTDIR)$(prefix)/$(productID)"
install-data-local:
cp -r -t "$(DESTDIR)$(prefix)/$(productID)" $(installData)
mkdir -p "$(DESTDIR)$(prefix)/$(productID)/Songs"
cp -r -t "$(DESTDIR)$(prefix)/$(productID)" $(installData)
uninstall-hook:
rm -f "$(DESTDIR)$(prefix)/$(productID)/stepmania"