# HG changeset patch # User Adam Chlipala # Date 1386276693 18000 # Node ID 136d4b84eb96c726a15320d134244400fbba0d99 # Parent a8377999fcf9baccab062a585afce668f5e9a83b Build an open-source release of library modules diff -r a8377999fcf9 -r 136d4b84eb96 .hgignore --- a/.hgignore Wed Oct 16 10:41:23 2013 -0400 +++ b/.hgignore Thu Dec 05 15:51:33 2013 -0500 @@ -17,6 +17,8 @@ staging/html/.dir cpdt.tgz +cpdtlib.tgz +cpdtlib *.glob *.v.d diff -r a8377999fcf9 -r 136d4b84eb96 Makefile --- a/Makefile Wed Oct 16 10:41:23 2013 -0400 +++ b/Makefile Thu Dec 05 15:51:33 2013 -0500 @@ -52,8 +52,16 @@ cpdt.tgz: hg archive -t tgz $@ -install: cpdt.tgz latex/cpdt.pdf latex/exercises.pdf html - cp cpdt.tgz staging/ +cpdtlib.tgz: Makefile + mkdir -p cpdtlib + cp src/LICENSE cpdtlib + cp src/CpdtTactics.v cpdtlib + cp src/MoreSpecif.v cpdtlib + cp src/DepList.v cpdtlib + tar zcf cpdtlib.tgz cpdtlib/* + +install: cpdt.tgz cpdtlib.tgz latex/cpdt.pdf latex/exercises.pdf html + cp cpdt*.tgz staging/ cp latex/cpdt.pdf staging/ cp latex/exercises.pdf staging/ex/ cp -R html staging/ diff -r a8377999fcf9 -r 136d4b84eb96 src/LICENSE --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/LICENSE Thu Dec 05 15:51:33 2013 -0500 @@ -0,0 +1,56 @@ +"Certified Programming with Dependent Types" code license information + +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +CAUTION: Most of the source files in this distribution are NOT +open-source in the usual sense. See the comment at the beginning of +each source file for its license, which is Creative Commons, oriented +more toward free distribution of books than the usual collaborative +model of open-source software. The author really is trying to keep +you from remixing your own versions of the book, which MIT Press might +not be too happy about. + +However, a few of the library modules used here are sufficiently +useful that they are released separately under a BSD license, included +below. The author wants to repeat some advice from the book text, +though: please don't use these library modules in real projects. They +are not designed for any use beside getting the reader up and running +quickly in reading the book. All of their content, including the +"crush" functionality, is rather trivial to implement from scratch for +your own projects, using the techniques that the book presents. + + +The following license applies ONLY to the source files: +CpdtTactics.v +MoreSpecif.v +DepList.v + +~~~~~~~~~~~ +BSD LICENSE +~~~~~~~~~~~ + +Copyright (c) 2006-2013, Adam Chlipala +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +- Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +- Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +- The names of contributors may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. diff -r a8377999fcf9 -r 136d4b84eb96 staging/index.html --- a/staging/index.html Wed Oct 16 10:41:23 2013 -0400 +++ b/staging/index.html Thu Dec 05 15:51:33 2013 -0500 @@ -23,6 +23,7 @@
  • Latest draft as a PDF
  • Online version of latest draft, as hyperlinked HTML [note that the author focuses on the PDF version and doesn't make an effort to keep the HTML version particularly pleasant to use]
  • Tarball of Coq source to latest draft
  • +
  • Tarball of a few generally useful library modules from the book (which are released under an open-source license, while the book generally isn't)
  • Public, read-only Mercurial repository
  • RSS feed of updates