For gdb-4.17 : distclean and YYFILES

Peter.Schauer Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE
Mon Feb 9 23:09:00 GMT 1998


While I agree with the other two patches you sent in recently,
this one is wrong.

The released GDB will be distributed with the YYFILES, because a distribution
shouldn't require yacc/bison for the build. Obviously distclean
shouldn't remove them, realclean/maintainer-clean should be used to get
rid of YYFILES.

> distclean forgets some files :
> 
> Mon Feb  9 16:47:11 1998  Philippe De Muyter  <phdm@macqel.be>
> 
> 	* Makefile.in (distclean): Add `rm $(YYFILES)'.
> 
> --- ./gdb/Makefile.in	Mon Feb  9 16:44:52 1998
> +++ ./gdb/Makefile.in	Mon Feb  9 13:01:14 1998
> @@ -707,6 +707,7 @@
>  	rm -f nm.h tm.h xm.h config.status config.h stamp-h .gdbinit
>  	rm -f y.output yacc.acts yacc.tmp y.tab.h
>  	rm -f config.log config.cache
> +	rm -f $(YYFILES)
>  	rm -f Makefile
>  
>  maintainer-clean realclean: distclean clean
> 
> 


-- 
Peter Schauer			pes@regent.e-technik.tu-muenchen.de



More information about the Gdb-patches mailing list