Changeset 6162

Show
Ignore:
Timestamp:
01/09/09 12:14:25 (3 years ago)
Author:
westram
Message:
  • auto-update config.makefile
Location:
trunk
Files:
1 added
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r6161 r6162  
    391391                @echo '$(ARBHOME)/$@:1: has been generated.' 
    392392                @echo 'Please edit $@ to configure your system!' 
     393                @echo -------------------------------------------------------------------------------- 
     394                @false 
    393395else 
    394396                @echo '$(ARBHOME)/$<:1: is more recent than' 
    395397                @echo '$(ARBHOME)/$@:1:' 
    396398                @ls -al config.makefile* 
    397                 @echo "you may either:" 
    398                 @echo "- ignore it and touch $@" 
    399                 @echo "- merge difference between $@ and $< (recommended)" 
    400                 @echo "- remove $@, run make again and edit the freshly generated $@" 
    401 endif 
    402399                @echo -------------------------------------------------------------------------------- 
    403                 @false 
     400                @echo "Updating $@ (if this fails, check manually)" 
     401                SOURCE_TOOLS/update_config_makefile.pl 
     402                @echo "Sucessfully updated $@" 
     403                @echo -------------------------------------------------------------------------------- 
     404                @ls -al config.makefile* 
     405                @echo -------------------------------------------------------------------------------- 
     406                @echo "Diff to your old config.makefile:" 
     407                @echo -------------------------------------------------------------------------------- 
     408                diff $@.bak $@ 
     409                @echo -------------------------------------------------------------------------------- 
     410endif 
    404411 
    405412# check if everything is configured correctly