build special version strings for AADK/S800i builds

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2007-02-23 18:59:09 +00:00
parent ad720f24bb
commit 99b4865121

View File

@@ -1,5 +1,6 @@
#!/bin/sh
cat << END
if [ ! -f ../.flavor ]; then
cat << END
/*
* version.h
* Automatically generated
@@ -8,3 +9,17 @@ cat << END
#define ASTERISK_VERSION_NUM ${ASTERISKVERSIONNUM}
END
else
aadkver=`cat ../.version`
aadkflavor=`cat ../.flavor`
cat << END
/*
* version.h
* Automatically generated
*/
#define ASTERISK_VERSION "${ASTERISKVERSION} (${aadkflavor} ${aadkver})"
#define ASTERISK_VERSION_NUM ${ASTERISKVERSIONNUM}
END
fi