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

Re: merged Makefile fixes



Zefram wrote:
> This patch also makes sure that the Makefile passes all necessary
> parameters to the scripts, and avoids relying on #!.

And it also assumes that the `.' builtin set positional parameters.
Fix included below.

Zoltan


*** Src/Makefile.in	1997/01/02 16:28:02	3.1.1.17
--- Src/Makefile.in	1997/01/02 18:50:24
***************
*** 212,222 ****
  	fi
  
  bltinmods.list: $(MODBINS) $(XMODCF) mkbltnmlst.sh
! 	srcdir='$(srcdir)'; \
! 	CFSED='$(CFSED)'; \
! 	MODBINS='$(MODBINS)'; \
! 	XMODCF='$(XMODCF)'; \
! 	. $(srcdir)/mkbltnmlst.sh $@
  
  zshxmods.h: $(MODBINS) $(XMODCF)
  	@echo "Creating \`$@'."
--- 212,219 ----
  	fi
  
  bltinmods.list: $(MODBINS) $(XMODCF) mkbltnmlst.sh
! 	srcdir='$(srcdir)' CFSED='$(CFSED)' MODBINS='$(MODBINS)' \
! 	XMODCF='$(XMODCF)' $(SHELL) $(srcdir)/mkbltnmlst.sh $@
  
  zshxmods.h: $(MODBINS) $(XMODCF)
  	@echo "Creating \`$@'."
***************
*** 249,262 ****
  $(PROTO): makepro.sed
  
  $(NSTMP): $(MODBINS) $(MODCF) mkstamp.sh proto FORCE
! 	@srcdir='$(srcdir)'; \
! 	CFSED='$(CFSED)'; \
! 	MODBINS='$(MODBINS)'; \
! 	MODCF='$(MODCF)'; \
! 	MODULE_DIRS='$(MODULE_DIRS)'; \
! 	MAKE='$(MAKE)'; \
! 	MAKEDEFS="$(MAKEDEFS)"; \
! 	. $(srcdir)/mkstamp.sh $@
  
  FORCE:
  
--- 246,254 ----
  $(PROTO): makepro.sed
  
  $(NSTMP): $(MODBINS) $(MODCF) mkstamp.sh proto FORCE
! 	@srcdir='$(srcdir)' CFSED='$(CFSED)' MODBINS='$(MODBINS)' \
! 	MODCF='$(MODCF)' MODULE_DIRS='$(MODULE_DIRS)' MAKE='$(MAKE)' \
! 	MAKEDEFS="$(MAKEDEFS)" $(SHELL) $(srcdir)/mkstamp.sh $@
  
  FORCE:
  



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