From 01240b9fbf60510a098975fd8d74b908ec2cde45 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Fri, 30 Oct 2009 19:49:51 +0100 Subject: scripts: fix updating config.{sub,guess} --- ct-ng.in | 5 +++-- samples/samples.mk | 2 +- scripts/scripts.mk | 6 ++---- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/ct-ng.in b/ct-ng.in index 1e23cae2..8a604313 100644 --- a/ct-ng.in +++ b/ct-ng.in @@ -56,10 +56,11 @@ ifeq ($(strip $(origin V)),command line) endif # origin V export V SILENT ECHO -.FORCE: $(FORCE) +all: help + .PHONY: $(PHONY) PHONY += all -all: help +FORCE: # Help system help:: help-head help-config help-samples help-build help-clean help-distrib help-env help-tail diff --git a/samples/samples.mk b/samples/samples.mk index 6052ae9f..bc769abf 100644 --- a/samples/samples.mk +++ b/samples/samples.mk @@ -38,7 +38,7 @@ $(patsubst %,show-%,$(CT_SAMPLES)): # print the list of all available samples PHONY += list-samples -list-samples: .FORCE +list-samples: FORCE @echo $(CT_SAMPLES) |$(sed) -r -e 's/ /\n/g;' |sort wiki-samples: diff --git a/scripts/scripts.mk b/scripts/scripts.mk index ebb05e4b..7b215402 100644 --- a/scripts/scripts.mk +++ b/scripts/scripts.mk @@ -35,14 +35,12 @@ PHONY += scripts scripts: $(SILENT)mkdir -p scripts -FROCE += $(CONFIG_SUB_DEST) -$(CONFIG_SUB_DEST): scripts +$(CONFIG_SUB_DEST): scripts FORCE @$(ECHO) ' WGET $@' $(SILENT)wget $(wget_opt) -O $@ $(CONFIG_SUB_SRC) $(SILENT)chmod u+rwx,go+rx-w $@ -FORCE += $(CONFIG_GUESS_DEST) -$(CONFIG_GUESS_DEST): scripts +$(CONFIG_GUESS_DEST): scripts FORCE @$(ECHO) ' WGET $@' $(SILENT)wget $(wget_opt) -O $@ $(CONFIG_GUESS_SRC) $(SILENT)chmod u+rwx,go+rx-w $@ -- cgit v1.2.3