Added some initial z39 gateway scripts.
[egate.git] / www / Makefile
index 5f12e0f..8d73a0e 100644 (file)
@@ -2,7 +2,10 @@
 # Europagate, 1995
 #
 # $Log: Makefile,v $
-# Revision 1.3  1995/10/23 16:55:33  adam
+# Revision 1.4  1995/10/23 17:04:16  adam
+# Added some initial z39 gateway scripts.
+#
+# Revision 1.3  1995/10/23  16:55:33  adam
 # A lot of changes - really.
 #
 # Revision 1.2  1995/10/20  14:02:40  adam
@@ -15,9 +18,11 @@ SHELL=/bin/sh
 INCLUDE=-I../include
 #CFLAGS=-g -Wall -pedantic -ansi
 OLIB=../lib/libres+log.a
-TCLLIB=/usr/local/lib/libtcl7.4.a
-WSCRIPTS=egwscript
+TCLLIB=/usr/local/lib/libtcl7.5.a
+WSCRIPTS=egwscript targets.egw query.egw search.egw
 HSCRIPTS=egwindex.html
+CONFFILES=ztargets.conf
+GIFFILES=webgate.gif
 TPROG1=egwcgi
 TPROG2=egwsh
 TPROG3=wtest
@@ -30,6 +35,8 @@ DEFS=$(INCLUDE)
 HTTPDDIR=/usr/local/etc/httpd
 CGIBIN=$(HTTPDDIR)/cgi-bin
 HTDOCS=$(HTTPDDIR)/htdocs
+CONFDIR=$(HTTPDDIR)/conf
+GIFDIR=$(HTDOCS)/gif
 
 all: $(TPROG1) $(TPROG2)
 
@@ -58,6 +65,14 @@ install: $(TPROG1) $(TPROG2)
                echo Installing $$x; \
                cp $$x $(HTDOCS); \
        done
+       @for x in $(CONFFILES); do \
+               echo Installing $$x; \
+               cp $$x $(CONFDIR); \
+       done
+       @for x in $(GIFFILES); do \
+               echo Installing $$x; \
+               cp $$x $(GIFDIR); \
+       done
 
 .c.o:
        $(CC) -c $(DEFS) $(CFLAGS) $<