diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-06-06 03:04:58 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-06-06 03:04:58 +0000 |
commit | e5006737913cf0182a428bea5fe509001aa4e98f (patch) | |
tree | 58d7e6695d5101aec3937aa27bc051e769ae3bbc /make_build_h | |
parent | 42b7c567777aacf352bdf359cd7b27e8f1a644a9 (diff) |
major Makefile and build process improvements, including removal of all hardcoded paths (modules must now use run-time paths as they should) (bug #4116)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5855 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'make_build_h')
-rwxr-xr-x | make_build_h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/make_build_h b/make_build_h index f98f54991..fda1cea38 100755 --- a/make_build_h +++ b/make_build_h @@ -4,9 +4,8 @@ KERNEL=`uname -r` MACHINE=`uname -m` OS=`uname -s` USER=`whoami` -VERSION=`cat .version` -rm -f build.h -cat > build.h << END +DATE=`date --utc "+%Y-%m-%d %H:%M:%S"` +cat << END /* * build.h * Automatically generated @@ -15,6 +14,7 @@ cat > build.h << END #define BUILD_KERNEL "${KERNEL}" #define BUILD_MACHINE "${MACHINE}" #define BUILD_OS "${OS}" -#define BUILD_VERSION "${VERSION}" +#define BUILD_DATE "${DATE}" #define BUILD_USER "${USER}" + END |