Ported ir-tcl to use the beta releases of tcl7.5/tk4.1.
[ir-tcl-moved-to-github.git] / Makefile.in
index 9a14647..9b14daf 100644 (file)
@@ -2,11 +2,11 @@
 # (c) Index Data 1995
 # See the file LICENSE for details.
 # Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile.in,v 1.19 1995-10-12 14:46:52 adam Exp $
+# $Id: Makefile.in,v 1.27 1996-01-11 12:36:24 adam Exp $
 SHELL=/bin/sh
 
 # IrTcl Version
-VERSION=1.0b3
+VERSION=1.1
 
 # Directory prefix with machine independent files (scripts, setup files, etc.)
 prefix = @prefix@
@@ -21,7 +21,6 @@ INCDIR=$(prefix)/include
 IRTCLDIR=$(prefix)/lib/irtcl
 
 YAZDIR=@YAZDIR@
-MOSIDIR=@MOSIDIR@
 LIBS=@LIBS@ -lm
 
 CC=@CC@
@@ -35,17 +34,20 @@ TCLLIB=@TCLLIB@
 TKLIB=@TKLIB@
 TCLINCLUDE=@TCLINCLUDE@
 
-# MOSI directory with libmosi.a and source
+# MOSI settings, directory with libmosi.a and source
+MOSI=@MOSI@
+MOSIDIR=@MOSIDIR@
 MOSILIB=@MOSILIB@
+MOSIINC=@MOSIINC@
 
 # All YAZ libraries - including MOSI libraries.
-YAZLIB=$(YAZDIR)/lib/libyaz.a $(MOSILIB) $(YAZDIR)/lib/libutil.a
+YAZLIB=$(YAZDIR)/lib/libyaz.a $(MOSILIB)
 
 # All include paths
-INCLUDE=-I$(YAZDIR)/include $(XINCLUDE) -I$(MOSIDIR) $(TCLINCLUDE)
+INCLUDE=-I$(YAZDIR)/include $(XINCLUDE) $(TCLINCLUDE) $(MOSIINC)
 
 # All command line options except CFLAGS
-DEFS=-DCCL2RPN=0 @DEFS@ -DMOSI=@MOSI@ -DIRTCLDIR=\"$(IRTCLDIR)\" \
+DEFS=-DCCL2RPN=0 @DEFS@ -DMOSI=$(MOSI) -DIRTCLDIR=\"$(IRTCLDIR)\" \
        $(INCLUDE) -DIR_TCL_VERSION=\"$(VERSION)\"
 
 INSTALL = @INSTALL@
@@ -132,9 +134,14 @@ distribution:
        fi
        mkdir tmp; cd tmp; cvs export -f -D now ir-tcl
        cp configure tmp/ir-tcl
-       cd tmp/ir-tcl/doc; make all
        cd tmp; mv ir-tcl ir-tcl-$(VERSION)
        cd tmp; tar zcf ../ir-tcl-$(VERSION).tar.gz ir-tcl-$(VERSION)
+       cd tmp; mv ir-tcl-$(VERSION) ir-tcl
+       cd tmp/ir-tcl/doc; make all
+       mv tmp/ir-tcl/doc/ir-tcl.txt .; gzip -f ir-tcl.txt
+       mv tmp/ir-tcl/doc/ir-tcl.ps .; gzip -f ir-tcl.ps
+       cd tmp/ir-tcl; mkdir irtcl; cp doc/*.html CHANGELOG irtcl
+       cd tmp/ir-tcl; tar zcf ../../irtclhtml.tar.gz irtcl
        rm -fr tmp
 
 .c.o: