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 $@