Author: malat
Date: 2013-03-05 11:27:46 +0000 (Tue, 05 Mar 2013)
New Revision: 13142
Modified:
trunk/packages/orthanc/trunk/debian/rules
Log:
Use RelWithDebInfo as per #701231
Modified: trunk/packages/orthanc/trunk/debian/rules
===================================================================
--- trunk/packages/orthanc/trunk/debian/rules 2013-03-05 10:41:40 UTC (rev
13141)
+++ trunk/packages/orthanc/trunk/debian/rules 2013-03-05 11:27:46 UTC (rev
13142)
@@ -3,14 +3,22 @@
%:
dh $@ --parallel --builddirectory=Build
+CMAKE_EXTRA_FLAGS += \
+ -DSTATIC_BUILD:BOOL=OFF \
+ -DSTANDALONE_BUILD:BOOL=ON \
+ -DUSE_DYNAMIC_JSONCPP:BOOL=ON \
+ -DDEBIAN_USE_GTEST_SOURCE_PACKAGE:BOOL=ON \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DDCMTK_LIBRARIES="wrap;oflog"
+
override_dh_auto_configure:
# Put 3rd party packages where the cmake build system expects them
mkdir -p ThirdPartyDownloads
( cd ThirdPartyDownloads; cp ../debian/ThirdPartyDownloads/* . )
- dh_auto_configure -- -DSTATIC_BUILD:BOOL=OFF -DSTANDALONE_BUILD:BOOL=ON
-DUSE_DYNAMIC_JSONCPP:BOOL=ON -DDEBIAN_USE_GTEST_SOURCE_PACKAGE:BOOL=ON
-DCMAKE_BUILD_TYPE=Release "-DDCMTK_LIBRARIES=wrap;oflog"
+ dh_auto_configure -- $(CMAKE_EXTRA_FLAGS)
override_dh_auto_test:
- ( cd $(CURDIR)/Build; ./UnitTests )
+ ( cd Build; ./UnitTests )
override_dh_clean:
rm -rf ThirdPartyDownloads
@@ -19,7 +27,7 @@
dh_install Build/Orthanc usr/sbin
override_dh_installchangelogs:
- dh_installchangelogs -k $(CURDIR)/NEWS
+ dh_installchangelogs -k NEWS
get-orig-source:
uscan --verbose --force-download --rename
_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit