Patch to change gdb's behavior for Makefile target 'diststuff'
Andrew Cagney
ac131313@cygnus.com
Sat Apr 1 00:00:00 GMT 2000
Jason Molenda wrote:
Approved.
Andrew
> 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 \
More information about the Gdb-patches
mailing list