changeset 456:b6fae3a97e8f

Include the dist directory even when not in release - It's valid to push a release even if your build is in debug; - You would get CMake warnings if you configured the project in DEBUG mode with the release config definitions.
author Louis Opter <kalessin@kalessin.fr>
date Mon, 23 May 2016 00:24:14 -0400
parents b20040b88de9
children 5868dc7734b0
files add_make_release.patch
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/add_make_release.patch	Sat May 14 18:07:00 2016 -0700
+++ b/add_make_release.patch	Mon May 23 00:24:14 2016 -0400
@@ -54,7 +54,7 @@
      ADD_SUBDIRECTORY(tests)
  ELSE ()
      MESSAGE(
-@@ -105,7 +108,14 @@
+@@ -105,9 +108,14 @@
  ENDIF ()
  
  IF (SPHINX_FOUND)
@@ -62,13 +62,13 @@
      ADD_SUBDIRECTORY(docs)
 +ELSE ()
 +    MESSAGE(STATUS "Shpinx wasn't found, docs generation disabled")
-+ENDIF ()
-+
-+IF (CMAKE_BUILD_TYPE MATCHES RELEASE)
-+  ADD_SUBDIRECTORY(dist)
  ENDIF ()
  
++ADD_SUBDIRECTORY(dist)
++
  INSTALL(
+     FILES COPYING README.rst docs/protocol.rst
+     DESTINATION share/doc/lightsd
 diff --git a/CMakeScripts/FindBsdTar.cmake b/CMakeScripts/FindBsdTar.cmake
 new file mode 100644
 --- /dev/null