X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=www%2FMakefile;h=2512b12b3a704ce2209b4c1c77acecdb42cb8e9f;hb=be6c1b7ad8eca0b6095337c43389fd642cf65636;hp=0fecbb5a2f0e17a78b58c2e6f6ad0013f4009423;hpb=2e38b5dbea87903010208d15a8a9073d2049bbae;p=egate.git diff --git a/www/Makefile b/www/Makefile index 0fecbb5..2512b12 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1,7 +1,7 @@ # Makefile for www gateway utility # Europagate, 1995 # -# $Id: Makefile,v 1.27 1996/01/26 15:50:06 adam Exp $ +# $Id: Makefile,v 1.28 1996/01/31 16:01:45 adam Exp $ # SHELL=/bin/sh # @@ -61,6 +61,10 @@ $(TPROG3): $(P3) $(OLIB) install: install.prog install.script install.gif install.prog: $(TPROG1) $(TPROG2) + @if [ ! -d $(CGIDIR) ]; then \ + echo "Making directory $(CGIDIR)"; \ + mkdir $(CGIDIR); \ + fi @for x in $(TPROG1) $(TPROG2); do \ echo Installing $$x; \ cp $$x $(CGIDIR); \ @@ -76,6 +80,10 @@ install.script: echo "Making directory $(EGWDIR)"; \ mkdir $(EGWDIR); \ fi + @if [ ! -d $(HTDOCS); then \ + echo "Making directory $(HTDOCS)"; \ + mkdir $(HTDOCS); \ + fi @for x in $(WSCRIPTS); do \ echo Installing $$x; \ cp $$x $(EGWDIR)/$$x; \