From efe5d8b4a117dcc5976498a621f7567e878fa66f Mon Sep 17 00:00:00 2001 From: hjp Date: Wed, 23 Jan 2002 17:42:06 +0000 Subject: [PATCH] Fixed GNUmakefile to use CONFDIR only if present. --- oragetsrc/GNUmakefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/oragetsrc/GNUmakefile b/oragetsrc/GNUmakefile index 8f4b9b5..5bbd886 100644 --- a/oragetsrc/GNUmakefile +++ b/oragetsrc/GNUmakefile @@ -1,6 +1,7 @@ include GNUmakevars CONFDIR=../../configure +CONFDIR_exists=$(shell [ -d $(CONFDIR) ] && echo ok) all: configure oragetsrc @@ -20,9 +21,13 @@ install: $(BINDIR) $(BINDIR)/oragetsrc customize: configure sh ./configure +ifeq ($(CONFDIR_exists),ok) + configure: $(CONFDIR)/start $(CONFDIR)/perl $(CONFDIR)/finish cat $^ > $@ +endif + $(BINDIR): mkdir -p $@