*** Makefile.orig	Sat Mar 14 20:57:48 1998
--- Makefile	Thu Jan 16 21:12:09 2003
***************
*** 5,11 ****
  
  ### EDIT THE NEXT LINES ONLY ###
  
! PREFIX = /usr/local
  
  # The directory where the tkhylafax library will be installed
  TCLLIB_DEST = $(PREFIX)/lib/tkhylafax-3.2
--- 5,11 ----
  
  ### EDIT THE NEXT LINES ONLY ###
  
! #PREFIX = ${PREFIX}
  
  # The directory where the tkhylafax library will be installed
  TCLLIB_DEST = $(PREFIX)/lib/tkhylafax-3.2
***************
*** 17,29 ****
  TCLMAN_DEST = $(PREFIX)/man/man1
  
  # The full path to tclsh
! TCLSH = /usr/bin/tclsh
  
  # The full path to wish.
! WISH = /usr/bin/wish
  
  # The full path to your postscript viewer
! GHOSTVIEW = /usr/X11/bin/gv
  
  ### DON'T EDIT ANYTHING BELOW THIS LINE ###
  
--- 17,29 ----
  TCLMAN_DEST = $(PREFIX)/man/man1
  
  # The full path to tclsh
! TCLSH = tclsh8.2
  
  # The full path to wish.
! WISH = wish8.2
  
  # The full path to your postscript viewer
! GHOSTVIEW = ${X11BASE}/bin/gv
  
  ### DON'T EDIT ANYTHING BELOW THIS LINE ###
  
***************
*** 52,58 ****
  
  all:
  	$(MAKE) build
- 	$(MAKE) install
  
  build: Makefile
  	@echo "Patching tkhylafax..."
--- 52,57 ----
***************
*** 66,78 ****
  
  $(TCLLIB_DEST):
  	if [ ! -d $(TCLLIB_DEST) ]; then mkdir -p $(TCLLIB_DEST); fi
! 	chmod 775 $(TCLLIB_DEST)
  
  install.lib: $(TCLLIB_DEST)
  	@echo "Installing tkhylafax library..." 
  	-for i in $(TCLLIB_FILES) ; do \
  	    cp $$i $(TCLLIB_DEST)/$$i ; \
! 	    chmod 664 $(TCLLIB_DEST)/$$i ; \
  	done
  	@echo "Done" 
  
--- 65,77 ----
  
  $(TCLLIB_DEST):
  	if [ ! -d $(TCLLIB_DEST) ]; then mkdir -p $(TCLLIB_DEST); fi
! 	chmod 755 $(TCLLIB_DEST)
  
  install.lib: $(TCLLIB_DEST)
  	@echo "Installing tkhylafax library..."
  	-for i in $(TCLLIB_FILES) ; do \
  	    cp $$i $(TCLLIB_DEST)/$$i ; \
! 	    chmod 644 $(TCLLIB_DEST)/$$i ; \
  	done
  	@echo "Done"
  
