# IR toolkit for tcl/tk
-# (c) Index Data 1995
+# (c) Index Data 1995-1996
# See the file LICENSE for details.
# Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile.in,v 1.33 1996-03-27 17:00:08 adam Exp $
+# $Id: Makefile.in,v 1.38 1996-07-26 09:15:06 adam Exp $
SHELL=/bin/sh
# IrTcl Version
-VERSION=1.1
+VERSION=1.2pl1
# Directory prefix with machine independent files (scripts, setup files, etc.)
prefix = @prefix@
# Tcl libraries and include files
TCLLIB=@TCLLIB@
-TCLINCLUDE=@TCLINCLUDE@
+TCLINC=@TCLINC@
# Tk & X11 libraries and include files
TKLIB=@TKLIB@
-TKINCLUDE=@TKINCLUDE@
+TKINC=@TKINC@
# MOSI settings, directory with libmosi.a and source
MOSI=@MOSI@
YAZLIB=$(YAZDIR)/lib/libyaz.a $(MOSILIB)
# All include paths
-INCLUDE=-I. -I$(YAZDIR)/include $(TKINCLUDE) $(TCLINCLUDE) $(MOSIINC)
+INCLUDE=-I. -I$(YAZDIR)/include $(TKINC) $(TCLINC) $(MOSIINC)
# All command line options except CFLAGS
DEFS=-DCCL2RPN=0 @DEFS@ -DMOSI=$(MOSI) -DIRTCLDIR=\"$(IRTCLDIR)\" \
ar qc libirtcl.a $(O)
$(RANLIB) libirtcl.a
+install.man:
+ @echo "Installation of man-pages"
+ @if [ ! -d $(MANDIR) ]; then \
+ echo Making $(MANDIR); \
+ mkdir $(MANDIR); \
+ fi
+ @if [ ! -d $(MANDIR)/mann ]; then \
+ echo Making $(MANDIR)/mann; \
+ mkdir $(MANDIR)/mann; \
+ fi
+ @cd doc; if [ -d $(MANDIR)/mann ]; then \
+ for p in *.n; do \
+ echo "Installing $$p"; \
+ $(INSTALL_DATA) $$p $(MANDIR)/mann; \
+ done; \
+ fi
+
install: ir-tcl
@for d in $(IRTCLDIR) $(IRTCLDIR)/formats $(IRTCLDIR)/bitmaps; do \
if [ ! -d $$d ]; then \
rm -fr tmp; \
fi
mkdir tmp; cd tmp; cvs export -f -D now ir-tcl
+ rm tmp/ir-tcl/wais-tcl.c
cp configure tmp/ir-tcl
cd tmp; mv ir-tcl ir-tcl-$(VERSION)
cd tmp; tar zcf ../ir-tcl-$(VERSION).tar.gz ir-tcl-$(VERSION)