summaryrefslogtreecommitdiff
path: root/make_build_h
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-06-06 03:04:58 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-06-06 03:04:58 +0000
commit4f299de252e58bdb89b2ee9fd0dc3639c6ee16a9 (patch)
tree58d7e6695d5101aec3937aa27bc051e769ae3bbc /make_build_h
parent236c05fc592eb55db07c18a2cfe7c501d1f225bc (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: https://origsvn.digium.com/svn/asterisk/trunk@5855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'make_build_h')
-rwxr-xr-xmake_build_h8
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