[Pkg-ocaml-maint-commits] [cppo] 04/11: Imported Upstream version 1.2.2

Stéphane Glondu glondu at moszumanska.debian.org
Tue Jan 26 14:56:29 UTC 2016


This is an automated email from the git hooks/post-receive script.

glondu pushed a commit to branch master
in repository cppo.

commit 553831e39303dff34085795625865c4fb993f355
Author: Stephane Glondu <steph at glondu.net>
Date:   Tue Jan 26 15:48:10 2016 +0100

    Imported Upstream version 1.2.2
---
 INSTALL.md | 23 +++++++++++++++++++++++
 Makefile   |  2 +-
 README.md  |  1 -
 3 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/INSTALL.md b/INSTALL.md
new file mode 100644
index 0000000..9888ee2
--- /dev/null
+++ b/INSTALL.md
@@ -0,0 +1,23 @@
+Installation instructions for cppo
+==================================
+
+Building cppo requires GNU Make and a standard OCaml
+installation. It can be installed with opam or manually as follows:
+
+Build:
+
+```
+make
+```
+
+Install:
+
+```
+make PREFIX=/some/path install
+```
+
+or
+
+```
+make BINDIR=/some/path/bin install
+```
diff --git a/Makefile b/Makefile
index f311d89..6039f72 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@ export BINDIR
 
 
 
-BEST != if ocamlopt 2>/dev/null; then echo .native; else echo .byte; fi
+BEST = $(shell if ocamlopt 2>/dev/null; then echo .native; else echo .byte; fi)
 NATDYNLINK ?= $(shell if [ -f `ocamlc -where`/dynlink.cmxa ]; then \
                         echo YES; \
                       else \
diff --git a/README.md b/README.md
index 1290779..c749301 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,6 @@ Cppo is:
 * reasonably fast
 * simple to install and to maintain
 
-
 User guide
 ----------
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/cppo.git



More information about the Pkg-ocaml-maint-commits mailing list