Commit 01d51ce3 authored by Sebastien Jodogne's avatar Sebastien Jodogne

fix debian/rules

parent b72a18dd
......@@ -22,17 +22,18 @@ CMAKE_VIEWER_EXTRA_FLAGS += \
-DCMAKE_BUILD_TYPE=None # The build type must be set to None, see #711515
override_dh_auto_configure:
# Put 3rd party packages where the cmake build system expects them
# Create the build directories
mkdir -p BuildApplications/ThirdPartyDownloads
mkdir -p BuildViewer/ThirdPartyDownloads
# Put 3rd party packages where the cmake build system expects them
( cd BuildApplications/ThirdPartyDownloads && \
ln -s ../../debian/ThirdPartyDownloads/Orthanc-1.3.2.tar.gz . )
mkdir -p BuildViewer/ThirdPartyDownloads
( cd BuildViewer/ThirdPartyDownloads && \
ln -s ../../debian/ThirdPartyDownloads/Orthanc-1.3.2.tar.gz . )
# Configure the command-line tools
mkdir BuildApplications
dh_auto_configure --builddirectory=BuildApplications \
--sourcedirectory=Applications \
-- $(CMAKE_APPLICATIONS_EXTRA_FLAGS)
......@@ -40,7 +41,6 @@ override_dh_auto_configure:
# Minify the official OpenLayers 3.19.0 distribution (Debian
# packages only contains OpenLayers 2 for the time being,
# which is incompatible with OpenLayers 3)
mkdir -p BuildViewer
yui-compressor debian/JS/openlayers-3.19.0/ol-debug.js > BuildViewer/ol.min.js
yui-compressor debian/JS/openlayers-3.19.0/ol.css > BuildViewer/ol.min.css
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment