This is the mail archive of the gdb-patches@sourceware.cygnus.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]

Patch to change gdb's behavior for Makefile target 'diststuff'


I am trying to steal the binutils snapshot script.  That script does
a 'make diststuff' at the top-level, which does all sorts of stuff.
Diststuff in gdb does a 'all-doc' in the doc/ subdirectory and the
Makefile there tries to run tex to generate some DVI files.

I want gdb/Makefile.in to run 'diststuff' in the doc/ directory, and
I want 'diststuff' in the doc/ directory to just generate the info
files.

This mirrors the binutils behavior.

Jason


Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile.in
--- Makefile.in	2000/02/09 08:52:44	1.3
+++ Makefile.in	2000/02/16 04:03:49
@@ -872,7 +872,7 @@ do-maintainer-clean:
 		subdir_do
 
 diststuff: $(DISTSTUFF)
-	cd doc; $(MAKE) $(MFLAGS) all-doc
+	cd doc; $(MAKE) $(MFLAGS) diststuff
 
 subdir_do: force
 	@for i in $(DODIRS); do \
Index: doc/Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/doc/Makefile.in,v
retrieving revision 1.1.1.5
diff -u -p -r1.1.1.5 Makefile.in
--- Makefile.in	2000/02/07 00:19:39	1.1.1.5
+++ Makefile.in	2000/02/16 04:03:53
@@ -100,6 +100,7 @@ dvi: gdb.dvi gdbint.dvi stabs.dvi refcar
 ps: gdb.ps gdbint.ps stabs.ps refcard.ps
 html: gdb_toc.html gdbint_toc.html stabs_toc.html
 all-doc: info dvi ps
+diststuff: info
 
 install-info: info
 	for i in *.info* ; do \

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