changeset 436:bfe99640cdfa

Added documentation for app_sip in the debian package
author Sebastien Decugis <sdecugis@nict.go.jp>
date Wed, 28 Jul 2010 15:19:55 +0900
parents af1263d6f80e
children c405e93bb2cc
files CMakeLists.txt contrib/debian/freediameter-sip-server.examples contrib/debian/freediameter-sip-server.install contrib/debian/rules extensions/app_sip/CMakeLists.txt
diffstat 5 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Wed Jul 28 15:06:56 2010 +0900
+++ b/CMakeLists.txt	Wed Jul 28 15:19:55 2010 +0900
@@ -40,6 +40,9 @@
 # SET(CMAKE_BUILD_TYPE Profiling)
 SET(CMAKE_C_FLAGS_PROFILING "-fprofile-arcs -ftest-coverage -fstack-protector -g -Wall")
 
+# Add a "DebianPackage" build type used when creating the Debian packages
+SET(CMAKE_C_FLAGS_DEBIANPACKAGE "${CMAKE_C_FLAGS_RELWITHDEBINFO}")
+
 # Set the DEBUG flag for Debug and Profiling builds
 IF (CMAKE_BUILD_TYPE MATCHES "Debug|Profiling")
   SET(DEBUG 1)
--- a/contrib/debian/freediameter-sip-server.examples	Wed Jul 28 15:06:56 2010 +0900
+++ b/contrib/debian/freediameter-sip-server.examples	Wed Jul 28 15:19:55 2010 +0900
@@ -1,2 +1,4 @@
 doc/app_sip.conf.sample
+doc/app_sip.sql
+doc/app_sip_SL.sql
 doc/test_sip.conf.sample
--- a/contrib/debian/freediameter-sip-server.install	Wed Jul 28 15:06:56 2010 +0900
+++ b/contrib/debian/freediameter-sip-server.install	Wed Jul 28 15:19:55 2010 +0900
@@ -1,1 +1,2 @@
 usr/lib/freeDiameter/app_sip.fdx
+usr/share/doc/freeDiameter-sip-server/*
--- a/contrib/debian/rules	Wed Jul 28 15:06:56 2010 +0900
+++ b/contrib/debian/rules	Wed Jul 28 15:19:55 2010 +0900
@@ -24,7 +24,7 @@
 
 override_dh_auto_configure:
 	dh_auto_configure -- $(skip_the_tests) \
-		-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
+		-DCMAKE_BUILD_TYPE:STRING=DebianPackage \
 		-DDEFAULT_CONF_PATH:PATH=/etc/freeDiameter \
 		-DBUILD_APP_ACCT:BOOL=ON \
 		-DBUILD_APP_DIAMEAP:BOOL=ON \
--- a/extensions/app_sip/CMakeLists.txt	Wed Jul 28 15:06:56 2010 +0900
+++ b/extensions/app_sip/CMakeLists.txt	Wed Jul 28 15:19:55 2010 +0900
@@ -38,3 +38,8 @@
 INSTALL(TARGETS app_sip
 	LIBRARY DESTINATION ${INSTALL_EXTENSIONS_SUFFIX}
 	COMPONENT freeDiameter-sip-server)
+
+INSTALL(FILES README TODO
+	DESTINATION /usr/share/doc/freeDiameter-sip-server
+	CONFIGURATIONS DebianPackage 
+	COMPONENT freeDiameter-sip-server)
"Welcome to our mercurial repository"