X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;ds=sidebyside;f=Makefile.web;h=727bf648f55624067824ccffb0097af3217d8895;hb=1140389ab96fc8ca7bc9c8dc642adbcec625f4a6;hp=543ef118a97fe9187b787191e98a90b22b49b362;hpb=4318ca87e2ae9ad83203dc72b154b9b23b49e0b3;p=egate.git diff --git a/Makefile.web b/Makefile.web index 543ef11..727bf64 100644 --- a/Makefile.web +++ b/Makefile.web @@ -1,7 +1,7 @@ # Top level Makefile for the Web - Z39.50 gateway # Europagate, 1995-1996. # -# $Id: Makefile.web,v 1.1 1996/08/28 08:03:45 adam Exp $ +# $Id: Makefile.web,v 1.6 1997/01/27 11:26:19 adam Exp $ # SHELL=/bin/sh MAKE=make @@ -17,8 +17,10 @@ HTDOCS=$(HTTPDDIR)/htdocs EGWDIR=$(HTTPDDIR)/egw GIFDIR=$(HTDOCS)/egwgif +EGWUSER=nobody + # Location of Tcl -TCLLIB=/usr/local/lib/libtcl7.5.a -lm +TCLLIB=-L/usr/local/lib -ltcl8.0 -lm TCLINC=-I/usr/local/include # Location of IrTcl @@ -43,10 +45,10 @@ all: for i in $(SUBDIR); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS)" CC="$(CC)" ZINC="$(ZINC)" ZLIB="$(ZLIB)" CPP="$(CPP)" ELIB="$(ELIB)" ZDEFS="$(ZDEFS)" TCLLIB="$(TCLLIB)" TCLINC="$(TCLINC)" IRTCLLIB="$(IRTCLLIB)" IRTCLINC="$(IRTCLINC)" EGWDIR="$(EGWDIR)"; then cd ..; else exit 1; fi; done dep depend: - for i in $(SUBDIR); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS)" CC="$(CC)" ZINC="$(ZINC)" CPP="$(CPP)" REGEXINC="$(REGEXINC)" ZDEFS="$(ZDEFS)" TCLINC="$(TCLINC)" IRTCLINC="$(IRTCLINC)" depend; then cd ..; else exit 1; fi; done + for i in $(SUBDIR); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS)" CC="$(CC)" ZINC="$(ZINC)" CPP="$(CPP)" ZDEFS="$(ZDEFS)" TCLINC="$(TCLINC)" IRTCLINC="$(IRTCLINC)" depend; then cd ..; else exit 1; fi; done install: - cd www; $(MAKE) HTTPDDIR="$(HTTPDDIR)" CGIDIR="$(CGIDIR)" HTDOCS="$(HTDOCS)" EGWDIR="$(EGWDIR)" GIFDIR="$(GIFDIR)" install + cd www; $(MAKE) HTTPDDIR="$(HTTPDDIR)" CGIDIR="$(CGIDIR)" HTDOCS="$(HTDOCS)" EGWDIR="$(EGWDIR)" GIFDIR="$(GIFDIR)" EGWUSER="$(EGWUSER)" install clean: -rm -f lib/*.a @@ -81,10 +83,16 @@ distribution: rm -fr tmp; \ fi mkdir tmp; cd tmp; cvs export -f -D now egate + cd tmp/egate; rm -fr ccl fml zlayer zlayer-yaz zlayer-zdist kernel + cd tmp/egate; rm *.email + cd tmp/egate; rm zdist.patch cd tmp/egate/www; rm *wais*.[ch] - cd tmp; mv egate egate-$(VERSION) - cd tmp/egate-$(VERSION); make taildepend - cd tmp/egate-$(VERSION)/doc; make all - cd tmp; tar zcf ../egate-$(VERSION).tar.gz egate-$(VERSION) + cd tmp/egate; mv Makefile.web Makefile + cd tmp/egate; mv CHANGELOG.web CHANGELOG + cd tmp/egate; mv README.web README + cd tmp; mv egate web-z39-$(VERSION) + cd tmp/web-z39-$(VERSION); make taildepend + cd tmp/web-z39-$(VERSION)/doc; rm egate.sgml; make web + cd tmp; tar zcf ../web-z39-$(VERSION).tar.gz web-z39-$(VERSION) rm -fr tmp