components/quilt/patches/02-makefile-install.patch
changeset 327 b3a36ee93012
equal deleted inserted replaced
326:36f3560adf05 327:b3a36ee93012
       
     1 (Message quiltdev.in:9)
       
     2 
       
     3 From:    Dean Roehrich <[email protected]>
       
     4 Subject: [Quilt-dev] [patch] Use INSTALL when installing LC_MESSAGES files
       
     5 Date:    Wed, 22 Oct 2008 11:14:10 CDT
       
     6 To:      [email protected]
       
     7 
       
     8 I ran into a case solaris ON build 99 where configure found ginstall, but the
       
     9 Makefile.in used something else, and that led to things going a bit haywire.
       
    10 
       
    11 Dean
       
    12 
       
    13 
       
    14 Index: Makefile.in
       
    15 ===================================================================
       
    16 --- Makefile.in.orig	2008-11-05 14:11:24.269682000 -0600
       
    17 +++ Makefile.in	2008-11-05 14:15:59.439693000 -0600
       
    18 @@ -426,8 +426,8 @@ ifeq ($(USE_NLS),yes)
       
    19  install-main ::
       
    20  	for lang in $(LINGUAS) ; do					\
       
    21  		dir=$(BUILD_ROOT)$(localedir)/$$lang/LC_MESSAGES;	\
       
    22 -		install -d $$dir;					\
       
    23 -		install -m 644 po/$$lang.mo				\
       
    24 +		$(INSTALL) -d $$dir;					\
       
    25 +		$(INSTALL) -m 644 po/$$lang.mo				\
       
    26  		    $$dir/quilt.mo ;					\
       
    27  	done
       
    28