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

BSD make and '$<'



Using BSD make (I use one coming with FreeBSD), there is problem
around '$<' in Doc/Makefile.in.  But there is no problem making with
GNU make.

Dose anybody know BSD make thinking '$<' should be used always with
implicit rule?  I'm not sure...

% cd zsh-3.0-pre4/Doc
% make -n
makeinfo -I.

% gmake -n
makeinfo -I. zsh.texi

Hmm.  I fixed it like this.

*** Doc/Makefile.in.bak	Wed Jul 31 05:10:00 1996
--- Doc/Makefile.in	Wed Jul 31 05:10:07 1996
***************
*** 93,111 ****
  everything: all zsh_us.ps zsh_a4.ps zsh_toc.html
  
  zsh.info: zsh.texi
! 	-$(MAKEINFO) -I$(srcdir) $<
  
  zsh.dvi: zsh.texi
! 	$(TEXI2DVI) $<
  
  zsh_us.ps: zsh.dvi
! 	$(DVIPS) -t letter -o $@ $<
  
  zsh_a4.ps: zsh.dvi
! 	$(DVIPS) -t a4 -o $@ $<
  
  zsh_toc.html: zsh.texi
! 	$(TEXI2HTML) $<
  
  # ========== DEPENDENCIES FOR INSTALLING ==========
  
--- 93,111 ----
  everything: all zsh_us.ps zsh_a4.ps zsh_toc.html
  
  zsh.info: zsh.texi
! 	-$(MAKEINFO) -I$(srcdir) $?
  
  zsh.dvi: zsh.texi
! 	$(TEXI2DVI) $?
  
  zsh_us.ps: zsh.dvi
! 	$(DVIPS) -t letter -o $@ $?
  
  zsh_a4.ps: zsh.dvi
! 	$(DVIPS) -t a4 -o $@ $?
  
  zsh_toc.html: zsh.texi
! 	$(TEXI2HTML) $?
  
  # ========== DEPENDENCIES FOR INSTALLING ==========
  



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