From 0e3c5c795704276048303d0e1e47843bbeca6d34 Mon Sep 17 00:00:00 2001 From: hjp Date: Mon, 19 Mar 2001 22:39:28 +0000 Subject: [PATCH] Use configure dir only if present. --- fact/GNUmakefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fact/GNUmakefile b/fact/GNUmakefile index 13d48f3..11c1633 100644 --- a/fact/GNUmakefile +++ b/fact/GNUmakefile @@ -1,6 +1,7 @@ include GNUmakevars CONFDIR=../../configure +CONFDIR_exists=$(shell [ -d $(CONFDIR) ] && echo ok) all: configure fact @@ -20,9 +21,13 @@ install: $(BINDIR) $(BINDIR)/fact customize: configure sh ./configure +ifeq ($(CONFDIR_exists),ok) + configure: $(CONFDIR)/start $(CONFDIR)/perl $(CONFDIR)/finish cat $^ > $@ +endif + $(BINDIR): mkdir -p $@