New option to report code status and release.
git-svn-id: http://voip.null.ro/svn/yate@1714 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
1e97c553a9
commit
2f6e4cd6e5
|
@ -39,6 +39,9 @@ module.yate: module.cpp
|
|||
.B \-\-version
|
||||
Reports the installed YATE version (in x.y.z format)
|
||||
.TP
|
||||
.B \-\-release
|
||||
Reports the installed YATE code status (if not release) and release number
|
||||
.TP
|
||||
.B \-\-config
|
||||
Returns the configuration files directory
|
||||
.TP
|
||||
|
|
|
@ -4,7 +4,7 @@ ustr='Usage: yate-config [--cflags] [--includes] [--c-all]
|
|||
[--ldflags] [--libs] [--ld-all] [--ld-nostrip] [--ld-strip]
|
||||
[--config] [--modules] [--share]
|
||||
[--helpdir] [--scripts] [--skins]
|
||||
[--version]'
|
||||
[--version] [--release]'
|
||||
if [ "$#" = 0 ]; then
|
||||
echo "$ustr"
|
||||
exit 0
|
||||
|
@ -26,6 +26,9 @@ while [ "$#" != 0 ]; do
|
|||
--version)
|
||||
echo "@PACKAGE_VERSION@"
|
||||
;;
|
||||
--release)
|
||||
echo "@PACKAGE_STATUS@@PACKAGE_RELEASE@"
|
||||
;;
|
||||
--cflags)
|
||||
echo "$s1"
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue