Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: a couple of Makefile fixes



"make distclean" reveals two small bugs:

1. The Test subdirectory needs to be entered for cleaning.

2. There is a very long-standing bug that causes stamp-h.in to be created
   in the wrong directory if it doesn't already exist.  I remember fixing
   this several years ago, but the change evidently disappeared sometime
   since.

-zefram

*** ../zsh-cvs-snapshot-08.12.1999.04.04.02/Makefile.in	Mon Dec  6 04:33:02 1999
--- Makefile.in	Wed Dec  8 14:10:52 1999
***************
*** 98,103 ****
--- 98,104 ----
  distclean-here:
  	@cd Completion && $(MAKE) $(MAKEDEFS) $@
  	@cd Functions && $(MAKE) $(MAKEDEFS) $@
+ 	@cd Test && $(MAKE) $(MAKEDEFS) $@
  	rm -f Makefile config.h config.status config.log config.cache stamp-h Config/defs.mk
  
  realclean-here:
***************
*** 123,129 ****
  config.h.in: stamp-h.in
  stamp-h.in: configure.in acconfig.h aclocal.m4 aczsh.m4
  	cd $(sdir) && autoheader
! 	echo > $@
  
  # ========== DEPENDENCIES FOR DISTRIBUTION ==========
  
--- 124,130 ----
  config.h.in: stamp-h.in
  stamp-h.in: configure.in acconfig.h aclocal.m4 aczsh.m4
  	cd $(sdir) && autoheader
! 	echo > $(sdir)/stamp-h.in
  
  # ========== DEPENDENCIES FOR DISTRIBUTION ==========
  
END



Messages sorted by: Reverse Date, Date, Thread, Author