scripts: fix updating config.{sub,guess}
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Oct 30 19:49:51 2009 +0100 (2009-10-30)
changeset 16187f52e1cca71e
parent 1617 7d70bcf940a9
child 1619 02b9435120e8
scripts: fix updating config.{sub,guess}
ct-ng.in
samples/samples.mk
scripts/scripts.mk
     1.1 --- a/ct-ng.in	Thu Oct 29 00:10:06 2009 +0100
     1.2 +++ b/ct-ng.in	Fri Oct 30 19:49:51 2009 +0100
     1.3 @@ -56,10 +56,11 @@
     1.4  endif # origin V
     1.5  export V SILENT ECHO
     1.6  
     1.7 -.FORCE: $(FORCE)
     1.8 +all: help
     1.9 +
    1.10  .PHONY: $(PHONY)
    1.11  PHONY += all
    1.12 -all: help
    1.13 +FORCE:
    1.14  
    1.15  # Help system
    1.16  help:: help-head help-config help-samples help-build help-clean help-distrib help-env help-tail
     2.1 --- a/samples/samples.mk	Thu Oct 29 00:10:06 2009 +0100
     2.2 +++ b/samples/samples.mk	Fri Oct 30 19:49:51 2009 +0100
     2.3 @@ -38,7 +38,7 @@
     2.4  
     2.5  # print the list of all available samples
     2.6  PHONY += list-samples
     2.7 -list-samples: .FORCE
     2.8 +list-samples: FORCE
     2.9  	@echo $(CT_SAMPLES) |$(sed) -r -e 's/ /\n/g;' |sort
    2.10  
    2.11  wiki-samples:
     3.1 --- a/scripts/scripts.mk	Thu Oct 29 00:10:06 2009 +0100
     3.2 +++ b/scripts/scripts.mk	Fri Oct 30 19:49:51 2009 +0100
     3.3 @@ -35,14 +35,12 @@
     3.4  scripts:
     3.5  	$(SILENT)mkdir -p scripts
     3.6  
     3.7 -FROCE += $(CONFIG_SUB_DEST)
     3.8 -$(CONFIG_SUB_DEST): scripts
     3.9 +$(CONFIG_SUB_DEST): scripts FORCE
    3.10  	@$(ECHO) '  WGET  $@'
    3.11  	$(SILENT)wget $(wget_opt) -O $@ $(CONFIG_SUB_SRC)
    3.12  	$(SILENT)chmod u+rwx,go+rx-w $@
    3.13  
    3.14 -FORCE += $(CONFIG_GUESS_DEST)
    3.15 -$(CONFIG_GUESS_DEST): scripts
    3.16 +$(CONFIG_GUESS_DEST): scripts FORCE
    3.17  	@$(ECHO) '  WGET  $@'
    3.18  	$(SILENT)wget $(wget_opt) -O $@ $(CONFIG_GUESS_SRC)
    3.19  	$(SILENT)chmod u+rwx,go+rx-w $@