Lots of changes. They aren't visible though.
[egate.git] / www / Makefile
index 11d3b94..000302e 100644 (file)
@@ -1,7 +1,7 @@
 # Makefile for www gateway utility
 # Europagate, 1995
 #
-# $Id: Makefile,v 1.32 1996/02/29 15:41:38 adam Exp $
+# $Id: Makefile,v 1.34 1996/03/07 12:46:07 adam Exp $
 #
 SHELL=/bin/sh
 
@@ -19,7 +19,7 @@ TCLLIB=/usr/local/lib/libtcl7.5.a
 TCLINC=
 
 WSCRIPTS=egwscript targets.egw query.egw search.egw showfull.egw z39util.tcl \
- mtargets.egw mquery.egw msearch.egw history.egw tform.egw tdefine.egw
+ mtargets.egw mquery.egw msearch.egw history.egw tform.egw tdefine.egw sameas.egw
 HSCRIPTS=egwindex.html
 CONFFILES=egw.res ztargets.conf
 TPROG1=egwcgi
@@ -66,7 +66,8 @@ WAISDIR=../../freeWAIS-sf-2.0
 WAISLIB=$(IRTCLDIR)/wais-tcl.o $(WAISDIR)/ir/libwais.a
 
 $(TPROG4): $(P4) $(OLIB)
-       $(CC) $(CFLAGS) -o $(TPROG4) $(P4) $(OLIB) $(IRTCLLIB) \
+       $(CC) $(CFLAGS) -o $(TPROG4) $(P4) \
+               $(OLIB) $(IRTCLLIB) \
                $(WAISLIB) $(ZLIB) $(MOSILIB) $(NETLIB) $(TCLLIB) -lm
 
 install: install.prog install.script install.gif
@@ -94,6 +95,11 @@ install.prog: $(TPROG1) $(TPROG2)
                rm -f $(EGWDIR)/$$p; \
                ln $(EGWDIR)/$(TPROG2) $(EGWDIR)/$$p; \
        done
+       @if [ -x $(TPROG4) ]; then \
+               echo Installing $(TPROG4); \
+               cp $(TPROG4) $(EGWDIR)/$(TPROG4); \
+               chmod a+x $(EGWDIR)/$(TPROG4); \
+       fi
 
 install.script:
        @if [ ! -d $(EGWDIR) ]; then \