Commits

Anonymous committed bdb66a7

Prepared the black_hole_solver distribution for release.

Comments (0)

Files changed (2)

black-hole-solitaire/c-solver/CMakeLists.txt

 
 INCLUDE( "${CMAKE_CURRENT_SOURCE_DIR}/Common.cmake" )
 
-INCLUDE(CPack)
 INCLUDE(CheckCCompilerFlag)
 INCLUDE(FindPkgConfig)
 
 SET(CPACK_PACKAGE_NAME "black_hole_solver")
 SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Black Hole Solver")
 SET(CPACK_PACKAGE_VENDOR "Shlomi Fish")
-SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README.txt")
-SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING.txt")
+SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")
+SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
 
 # Process and extract the version number.
-FILE( READ "ver.txt" VERSION)
+FILE( READ "${CMAKE_CURRENT_SOURCE_DIR}/ver.txt" VERSION)
 
 CHOMP (VERSION)
 
 STRING (REGEX MATCHALL "([0-9]+)" VERSION_DIGITS "${VERSION}")
 
+
+
 LIST(GET VERSION_DIGITS 0 CPACK_PACKAGE_VERSION_MAJOR)
 LIST(GET VERSION_DIGITS 1 CPACK_PACKAGE_VERSION_MINOR)
 LIST(GET VERSION_DIGITS 2 CPACK_PACKAGE_VERSION_PATCH)
 SET (IA_STATE_PACKS_GROW_BY 32 CACHE STRING "Amount to Grow State Packs By")
 SET (base_with_ver "black_hole_solver-[0-9]+\\\\.[0-9]+\\\\.[0-9]+")
 SET(CPACK_SOURCE_IGNORE_FILES
+    "/build"
     "/_CPack_Packages/"
     "/CMakeFiles/"
     "/.deps/"
     "/(fc-solve|freecell-solver-range-parallel-solve|freecell-solver-fc-pro-range-solve|freecell-solver-multi-thread-solve|freecell-solver-fork-solve|measure-depth-dep-tests-order-perf)$"
     "/lib(fcs|freecell-solver)\\\\.(a|la)$"
     "\\\\.so(\\\\.[0-9]+)*$"
-    "/\\\\.svn/"
+    "/\\.svn/"
     "\\\\.(pdf|fo)$"
     "/t/t/.*\\\\.exe$"
     "/t/Presets"
     "/install_manifest\\\\.txt$"
     "/t/card-test-(parse|render)\\\\.c$"
     "/Testing/"
+    "\\.swp$"
     "ids-whitelist\\\\.txt"
 )
 
     "all"
 )
 
+INCLUDE(CPack)

black-hole-solitaire/c-solver/COPYING

+Freecell Solver Copyright and Licensing Information
+===================================================
+
+Freecell Solver Copyright and Licensing Information
+---------------------------------------------------
+
+Relax, this is not GPL software, but rather it is distributed under the
+MIT/X11 License ( http://en.wikipedia.org/wiki/MIT_License ).
+
+What this means is that the code and binaries here can be linked against
+anything, converted to any different license, freely used and distributed, and
+anything else without any restrictions whatsoever. No Strings Attached!<tm>
+
+-- Shlomi Fish
+
+Here is the license text (or "legalese") for most of the code:
+
+--------------------------------------------------------------------------
+Copyright (c) 2000 Shlomi Fish
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+--------------------------------------------------------------------------