This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Texino build problem


On Thu, Mar 26, 1998 at 05:16:47PM -0800, Mark Mitchell wrote:
> 
> On mips-sgi-irix6.4 I now get:
> 
>   make[3]: Entering directory `/pooma/mitchell/egcs/objdir/texinfo/lib'
>   make[3]: *** No rule to make target `-c', needed by `all'.  Stop.
> 
> Indeed, it looks like:
> 
>   all: Makefile $(LIBRARIES) $(DATA)
> 
>   DATA =  $(INSTALL_DATA)
>   INSTALL_DATA = ${INSTALL} -m 644
>   INSTALL = ../../../texinfo/../install-sh -c
> 
> Does anyone comprehend this situation?

It appears to be a bug in automake.   I hacked around it with

Index: automake.in
===================================================================
RCS file: /cvs/cvsfiles/devo/automake/automake.in,v
retrieving revision 1.20
diff -c -p -d -r1.20 automake.in
*** automake.in 1998/02/15 18:55:27     1.20
--- automake.in 1998/04/02 11:38:57
*************** sub am_install_var
*** 5816,5821 ****
--- 5816,5824 ----
            # all, or install targets.
            next if $X eq 'EXTRA';
  
+           # Don't see INSTALL_DATA wrongly.
+           next if $X eq 'INSTALL';
+ 
            # A blatant hack: we rewrite each _PROGRAMS primary to
            # include EXEEXT when in Cygwin32 mode.
            if ($seen_exeext && $primary eq 'PROGRAMS')

Perhaps someone else can comment on a proper solution?


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]