🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.lib.bug
Article #379

minor `make clean' problems with libg++ 2.3

#379
From: Paul Eggert
Date: Mon, 14 Dec 1992 09:11
69 lines
2324 bytes
In libg++ 2.3's etc subdirectory, `make realclean' forgets to remove
config.status and Makefile.

The same problem also exists in libg++ 2.3's libg++/etc/fib subdirectory.
Also, `make distclean' fails since there's no entry for `distclean'.
Also, `make realclean' does `rm -f $(TEST_PROGS)', but TEST_PROGS is not
defined, so this is equivalent to `rm -f'.

Here are patches.

===================================================================
RCS file: etc/Makefile.in,v
retrieving revision 2.3
retrieving revision 2.3.1.1
diff -c -r2.3 -r2.3.1.1
*** etc/Makefile.in	1992/11/18 21:39:53	2.3
--- etc/Makefile.in	1992/12/14 09:06:03	2.3.1.1
***************
*** 72,80 ****
  clean:
  	$(RM) *.info *.info-*
  
- distclean:   clean
  mostlyclean: clean
! realclean:   clean
  
  Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
  	$(SHELL) ./config.status
--- 72,81 ----
  clean:
  	$(RM) *.info *.info-*
  
  mostlyclean: clean
! distclean:   clean
! 	rm -f config.status Makefile
! realclean: distclean
  
  Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
  	$(SHELL) ./config.status
===================================================================
RCS file: libg++/etc/fib/Makefile.in,v
retrieving revision 2.3
retrieving revision 2.3.1.1
diff -c -r2.3 -r2.3.1.1
*** libg++/etc/fib/Makefile.in	1992/12/04 22:51:37	2.3
--- libg++/etc/fib/Makefile.in	1992/12/14 09:06:03	2.3.1.1
***************
*** 102,111 ****
  .PHONY: clean
  clean: force
  	rm -f *.o *~ \#* fib
  
- realclean: clean
- 	rm -f $(TEST_PROGS)
- 
  force:
  
  # with the gnu make, this is done automatically.
--- 102,111 ----
  .PHONY: clean
  clean: force
  	rm -f *.o *~ \#* fib
+ distclean: clean
+ 	rm -f config.status Makefile
+ realclean: distclean
  
  force:
  
  # with the gnu make, this is done automatically.
Technical Details
Message-ID: <9212140911.AA26663@bi.twinsun.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!bi.TWinsun.COM!eggert

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.lib.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!bi.TWinsun.COM!eggert
From: eggert@bi.TWinsun.COM (Paul Eggert)
Subject: minor `make clean' problems with libg++ 2.3
Message-ID: <9212140911.AA26663@bi.twinsun.com>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Mon, 14 Dec 1992 09:11:30 GMT
Approved: bug-lib-g++@prep.ai.mit.edu
Lines: 70