This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] mmalloc Makefile patch


David Carlton writes:
 > On Sun, 24 Nov 2002 20:05:13 -0500, Elena Zannoni <ezannoni@redhat.com> said:
 > 
 > > Turns out that the mmalloc.info file sufeered from the same problesm
 > > as the gdb info files.
 > 
 > > Elena
 > 
 > > 2002-11-24  Elena Zannoni  <ezannoni@redhat.com>
 > 
 > > 	* Makefile.in (INFO_DEPS): Define.
 > > 	(all): Add install-info to the rule.
 > 
 > Surely this should go in an 'install' target, not in 'all'?
 > 
 > David Carlton
 > carlton@math.stanford.edu


Oh dear! yes. Not clear what I was thinking.
thanks for catching it.

Here is a patch. Committed to mainline and 5.3 branch.

Elena


2002-11-28  Elena Zannoni  <ezannoni@redhat.com>

	* Makefile.in (install): Move install-info to here...
	(all): ...from here.



Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/mmalloc/Makefile.in,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile.in
--- Makefile.in	26 Nov 2002 22:33:21 -0000	1.4
+++ Makefile.in	28 Nov 2002 16:42:52 -0000
@@ -97,7 +97,7 @@ TARGETOBJS =	mm.o
 
 STAGESTUFF =	$(TARGETLIB) *.o
 
-all:		$(TARGETLIB) install-info
+all:		$(TARGETLIB)
 
 info: $(INFO_DEPS)
 dvi: mmalloc.dvi
@@ -155,7 +155,7 @@ check: test1.c
 # for gdb, perhaps).
 #	./a.out
 
-install:	all
+install:	all install-info
 		$(INSTALL_DATA) $(TARGETLIB) $(libdir)/$(TARGETLIB)n
 		$(RANLIB) $(libdir)/$(TARGETLIB)n
 		mv -f $(libdir)/$(TARGETLIB)n $(libdir)/$(TARGETLIB)

 	


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