From bdaf0542f8a3d246365d2b3705a9c19c546f9c09 Mon Sep 17 00:00:00 2001 From: Forest Date: Mon, 8 Sep 2014 11:11:28 -0700 Subject: [PATCH] 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. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 0835b739e0..271f0346ed 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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"