PATCH: make distclean dies in libf2c

Nathan Sidwell nathan@acm.org
Tue Feb 9 10:50:00 GMT 1999


hi,
Here's a patch for libf2c/Makefile.in. currently, a 'make distclean' dies in
that directory because it deletes the Makefile and then recursively calls make.
This
patch reorders the deletions so make distclean works.

Enjoy

nathan

-- 
Dr Nathan Sidwell :: Computer Science Department :: Bristol University
      You can up the bandwidth, but you can't up the speed of light      
nathan@acm.org  http://www.cs.bris.ac.uk/~nathan/  nathan@cs.bris.ac.uk
egcs/libf2c/ChangeLog:
Tue Feb  9 18:13:30 GMT 1999  Nathan Sidwell  <nathan@acm.org>

	* Makefile.in (distclean): Move Makefile deletion to end of
	commands.

Index: egcs/libf2c/Makefile.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/libf2c/Makefile.in,v
retrieving revision 1.27
diff -c -3 -p -r1.27 Makefile.in
*** Makefile.in	1998/10/13 08:51:49	1.27
--- Makefile.in	1999/02/09 18:12:39
*************** clean: mostlyclean
*** 225,233 ****
  	$(MULTICLEAN) multi-clean DO=$@
  
  distclean: clean
! 	rm -f Makefile config.cache config.status g2c.h s-libe77
  	$(MAKE) DO=$@ DODIRS="$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do; \
  	$(MULTICLEAN) multi-clean DO=distclean
  
  maintainer-clean:
  
--- 225,234 ----
  	$(MULTICLEAN) multi-clean DO=$@
  
  distclean: clean
! 	rm -f g2c.h s-libe77
  	$(MAKE) DO=$@ DODIRS="$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do; \
  	$(MULTICLEAN) multi-clean DO=distclean
+ 	rm -f config.cache config.status Makefile
  
  maintainer-clean:
  


More information about the Gcc-patches mailing list