From be6c1b7ad8eca0b6095337c43389fd642cf65636 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 31 Jan 1996 16:01:45 +0000 Subject: [PATCH] Minor changes. --- www/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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; \ -- 1.7.10.4