mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user