From b882bdeb04adc817a477009c689ec3b79151bf71 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sat, 14 Nov 2009 13:41:31 +0000 Subject: Avoid unnecessary compiling --- contrib/uci/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'contrib') diff --git a/contrib/uci/Makefile b/contrib/uci/Makefile index 04aa38b3a..b39278789 100644 --- a/contrib/uci/Makefile +++ b/contrib/uci/Makefile @@ -20,12 +20,10 @@ include ../../build/module.mk $(UCI_FILE): wget -O $@ "$(UCI_URL)" || rm -f $@ -$(UCI_PATCHDIR)/series: - (cd $(UCI_PATCHDIR); ls *.patch | sort > series) - -$(UCI_DIR)/.prepared: $(UCI_PATCHDIR)/series $(UCI_FILE) +$(UCI_DIR)/.prepared: $(UCI_FILE) rm -rf $(UCI_DIR) tar xvfz $(UCI_FILE) + (cd $(UCI_PATCHDIR); ls *.patch | sort > series) || true [ -f "$(UCI_PATCHDIR)/series" ] && while read patch; do \ patch -d $(UCI_DIR) -p1 < $(UCI_PATCHDIR)/$$patch; \ done < $(UCI_PATCHDIR)/series || true -- cgit v1.2.3