Author: sayer
Date: 2008-05-14 21:38:48 +0200 (Wed, 14 May 2008)
New Revision: 953
Modified:
trunk/core/plug-in/stats/Makefile
trunk/core/plug-in/stats/query_stats.c
Log:
install query_stats as sems-stats
Modified: trunk/core/plug-in/stats/Makefile
===================================================================
--- trunk/core/plug-in/stats/Makefile 2008-05-14 13:29:25 UTC (rev 952)
+++ trunk/core/plug-in/stats/Makefile 2008-05-14 19:38:48 UTC (rev 953)
@@ -1,11 +1,18 @@
COREPATH =../..
plug_in_name = stats
+QUERY_STATS_NAME = sems-stats
module_ldflags =
module_cflags =
+extra_target = query_stats
+extra_install = install_query_stats
include ../Makefile.app_module
query_stats: query_stats.c Makefile
- $(CXX) $(CXXFLAGS) -o query_stats query_stats.c
+ $(CXX) $(CXXFLAGS) -o $(QUERY_STATS_NAME) query_stats.c
+
+install_query_stats: query_stats $(DESTDIR)$(bin-prefix)/$(bin-dir)
+ $(INSTALL-TOUCH) $(DESTDIR)$(bin-prefix)/$(bin-dir)$(QUERY_STATS_NAME)
+ $(INSTALL-BIN) $(QUERY_STATS_NAME) $(DESTDIR)$(bin-prefix)/$(bin-dir)
Modified: trunk/core/plug-in/stats/query_stats.c
===================================================================
--- trunk/core/plug-in/stats/query_stats.c 2008-05-14 13:29:25 UTC (rev
952)
+++ trunk/core/plug-in/stats/query_stats.c 2008-05-14 19:38:48 UTC (rev
953)
@@ -16,6 +16,8 @@
void print_usage(const char * progname)
{
fprintf(stderr,
+ "SIP Express Media Server stats query\n"
+ "\n"
"Syntax: %s [<options>]\n"
"\n"
"where <options>: \n"
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev