[Pkg-ocaml-maint-commits] [cppo] 04/09: Imported Upstream version 1.1.1
Stéphane Glondu
glondu at moszumanska.debian.org
Thu Sep 3 12:38:58 UTC 2015
This is an automated email from the git hooks/post-receive script.
glondu pushed a commit to branch master
in repository cppo.
commit 1bdb8f4f3f4448673911234a7b81bc6a777091f1
Author: Stephane Glondu <steph at glondu.net>
Date: Thu Sep 3 14:21:56 2015 +0200
Imported Upstream version 1.1.1
---
Makefile | 2 +-
README.md | 3 ++-
ocamlbuild_plugin/ocamlbuild_cppo.ml | 3 ++-
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index e89850d..1daf812 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VERSION = 1.1.0
+VERSION = 1.1.1
ifeq "$(shell ocamlc -config |grep os_type)" "os_type: Win32"
EXE=.exe
diff --git a/README.md b/README.md
index cecd6b2..a17e5f5 100644
--- a/README.md
+++ b/README.md
@@ -208,7 +208,8 @@ to an int literal or a tuple of int literals, e.g.:
Version strings (http://semver.org/) can also be passed to cppo on the
command line. This results in multiple variables being defined, all
-sharing the same prefix. See the output `cppo -help` (copied below).
+sharing the same prefix. See the output of `cppo -help` (copied at the
+bottom of this page).
```
$ ./cppo -V OCAML:`ocamlc -version`
diff --git a/ocamlbuild_plugin/ocamlbuild_cppo.ml b/ocamlbuild_plugin/ocamlbuild_cppo.ml
index 61ff6dc..fa0d591 100644
--- a/ocamlbuild_plugin/ocamlbuild_cppo.ml
+++ b/ocamlbuild_plugin/ocamlbuild_cppo.ml
@@ -25,6 +25,7 @@ let dispatcher = function
flag ["cppo"; "cppo_q"] (A "-q") ;
flag ["cppo"; "cppo_s"] (A "-s") ;
flag ["cppo"; "cppo_n"] (A "-n") ;
- pflag ["cppo"] "cppo_x" (fun s -> S [A "-x"; A s])
+ pflag ["cppo"] "cppo_x" (fun s -> S [A "-x"; A s]);
+ pflag ["cppo"] "cppo_V" (fun s -> S [A "-V"; A s])
end
| _ -> ()
--
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