kbuild: Regenerate include/linux/version.h only if necessary
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Tue, 21 May 2002 12:20:10 +0000 (07:20 -0500)
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Tue, 21 May 2002 12:20:10 +0000 (07:20 -0500)
commit5b281f9153763d37b00a23963a9f11ad3362beb8
treebcabff35f3010251c5bb3a0a200182d30d02becb
parentb3434820ee5851a5cb57248fc57223cc56ab9a29
kbuild: Regenerate include/linux/version.h only if necessary

Before overwriting version.h, check if it actually changed - otherwise
we will unnecessarily rebuild a lot of files, as e.g. module.h depends
on version.h, and many files include module.h
scripts/mkversion_h