scripts: fix updating config.{sub,guess}

This commit is contained in:
Yann E. MORIN" 2009-10-30 19:49:51 +01:00
parent de8f2cea32
commit 01240b9fbf
3 changed files with 6 additions and 7 deletions

View File

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

View File

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

View File

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