On Fri, Jun 12, 2015 at 04:16:30PM +0200, Michele La Monaca wrote:
> Hi,
> 
> I've noticed that INSTALL_PROGRAM is not used to create directories.
> The attached patch fixes this behavior.

Hi Michele,

Thanks for your patch.  It looks good to me, signed off version attached.
This applies to master as well as chicken-5.

I'd cautiously say this should probably go into the prerelease branch,
but I don't quite understand why the Solaris makefiles work without
this patch: it needs INSTALL_PROGRAM=ginstall, but maybe the "install"
program is compatible enough to simply make directories?

Cheers,
Peter
From 612f865cddb7f65c8795dc85920a30b63f0c7ac1 Mon Sep 17 00:00:00 2001
From: Michele La Monaca <bitbuc...@lamonaca.net>
Date: Fri, 12 Jun 2015 16:08:16 +0200
Subject: [PATCH] fix MAKEDIR_COMMAND when INSTALL_PROGRAM is set

Signed-off-by: Peter Bex <pe...@more-magic.net>
---
 defaults.make | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/defaults.make b/defaults.make
index ea0fe28..e53900d 100644
--- a/defaults.make
+++ b/defaults.make
@@ -88,7 +88,7 @@ MAKEDIR_COMMAND ?= -mkdir
 else
 REMOVE_COMMAND ?= rm
 INSTALL_PROGRAM ?= install
-MAKEDIR_COMMAND ?= install
+MAKEDIR_COMMAND ?= $(INSTALL_PROGRAM)
 endif
 POSTINSTALL_STATIC_LIBRARY ?= true
 POSTINSTALL_PROGRAM ?= true
-- 
2.1.4

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to