components/quilt/patches/02-makefile-install.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Tue, 21 Jun 2011 13:40:34 -0700
changeset 327 b3a36ee93012
permissions -rw-r--r--
7057088 move quilt to userland

(Message quiltdev.in:9)

From:    Dean Roehrich <[email protected]>
Subject: [Quilt-dev] [patch] Use INSTALL when installing LC_MESSAGES files
Date:    Wed, 22 Oct 2008 11:14:10 CDT
To:      [email protected]

I ran into a case solaris ON build 99 where configure found ginstall, but the
Makefile.in used something else, and that led to things going a bit haywire.

Dean


Index: Makefile.in
===================================================================
--- Makefile.in.orig	2008-11-05 14:11:24.269682000 -0600
+++ Makefile.in	2008-11-05 14:15:59.439693000 -0600
@@ -426,8 +426,8 @@ ifeq ($(USE_NLS),yes)
 install-main ::
 	for lang in $(LINGUAS) ; do					\
 		dir=$(BUILD_ROOT)$(localedir)/$$lang/LC_MESSAGES;	\
-		install -d $$dir;					\
-		install -m 644 po/$$lang.mo				\
+		$(INSTALL) -d $$dir;					\
+		$(INSTALL) -m 644 po/$$lang.mo				\
 		    $$dir/quilt.mo ;					\
 	done