# HG changeset patch # User Sebastien Decugis # Date 1280297995 -32400 # Node ID bfe99640cdfa67d32bde9d4adc0bc0c02dfa1751 # Parent af1263d6f80e1459cca93deecc7c0cf51d308a69 Added documentation for app_sip in the debian package diff -r af1263d6f80e -r bfe99640cdfa CMakeLists.txt --- 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) diff -r af1263d6f80e -r bfe99640cdfa contrib/debian/freediameter-sip-server.examples --- 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 diff -r af1263d6f80e -r bfe99640cdfa contrib/debian/freediameter-sip-server.install --- 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/* diff -r af1263d6f80e -r bfe99640cdfa contrib/debian/rules --- 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 \ diff -r af1263d6f80e -r bfe99640cdfa extensions/app_sip/CMakeLists.txt --- 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)