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

glondu pushed a commit to branch master
in repository atdgen.

commit 7f4ba0f2f578c1b5161d360ae2b7a8b646c86e35
Author: Stephane Glondu <st...@glondu.net>
Date:   Thu Jan 28 09:51:52 2016 +0100

    Imported Upstream version 1.7.1
---
 Makefile     | 14 ++++++++++++++
 opam         | 16 +++++++++++++---
 src/Makefile | 25 ++++++++++++++++++-------
 3 files changed, 45 insertions(+), 10 deletions(-)

diff --git a/Makefile b/Makefile
index c9d5c19..fde626b 100644
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,20 @@ all:
 opt:
        $(MAKE) -C src opt
 
+.PHONY: findlib-install findlib-uninstall
+findlib-install:
+       $(MAKE) -C src findlib-install
+
+findlib-uninstall:
+       $(MAKE) -C src findlib-uninstall
+
+.PHONY: exe-install exe-uninstall
+exe-install:
+       $(MAKE) -C src exe-install
+
+exe-uninstall:
+       $(MAKE) -C src exe-uninstall
+
 install:
        $(MAKE) -C src install
 
diff --git a/opam b/opam
index ac6b4be..5be8b8e 100644
--- a/opam
+++ b/opam
@@ -1,10 +1,20 @@
-opam-version: "1"
+opam-version: "1.2"
 maintainer: "mar...@mjambon.com"
+authors: ["Martin Jambon"]
+
 homepage: "https://github.com/mjambon/atdgen";
-build: [
+bug-reports: "https://github.com/mjambon/atdgen/issues";
+dev-repo: "https://github.com/mjambon/atdgen.git";
+
+build: [ [make] ]
+
+install: [make "findlib-install"]
+
+build-test: [
   [make]
-  [make "install" "BINDIR=%{bin}%"]
+  [make "test"]
 ]
+
 remove: [
     ["ocamlfind" "remove" "atdgen"]
 ]
diff --git a/src/Makefile b/src/Makefile
index 4181c64..850e597 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,4 +1,4 @@
-VERSION = 1.7.0
+VERSION = 1.7.1
 ifeq "$(shell ocamlc -config |grep os_type)" "os_type: Win32"
 EXE=.exe
 else
@@ -96,28 +96,39 @@ default: all opt
 pp: VERSION META $(OCAMLLEX_ML) $(OCAMLYACC_MLI) $(OCAMLYACC_ML)
        $(MAKE) dep
 
-.PHONY: all opt install uninstall reinstall
+.PHONY: all opt
 all: pp
        $(MAKE) atdgen.cma atdgen.run
 opt: pp
        $(MAKE) atdgen.cmxa $(CMXS) atdgen$(EXE)
 
-install: META
+.PHONY: exe-install exe-uninstall
+exe-install:
        test ! -f atdgen.run || cp atdgen.run $(BINDIR)/
        test ! -f atdgen.run.exe || cp atdgen.run.exe $(BINDIR)/
        test ! -f atdgen || cp atdgen $(BINDIR)/
        test ! -f atdgen.exe || cp atdgen.exe $(BINDIR)/
-       ocamlfind install atdgen META \
-                $(MLI) $(CMI) $(CMO) $(CMX) $(CMXS) $(O) \
-                       atdgen.cma atdgen.a atdgen.cmxa
 
-uninstall:
+exe-uninstall:
        test ! -f $(BINDIR)/atdgen.run || rm $(BINDIR)/atdgen.run
        test ! -f $(BINDIR)/atdgen.run.exe || rm $(BINDIR)/atdgen.run.exe
        test ! -f $(BINDIR)/atdgen || rm $(BINDIR)/atdgen
        test ! -f $(BINDIR)/atdgen.exe || rm $(BINDIR)/atdgen.exe
+
+.PHONY: findlib-install findlib-uninstall
+findlib-uninstall:
        ocamlfind remove atdgen
 
+findlib-install: META
+       ocamlfind install atdgen META \
+                $(MLI) $(CMI) $(CMO) $(CMX) $(CMXS) $(O) \
+                       atdgen.cma atdgen.a atdgen.cmxa
+
+.PHONY: install uninstall reinstall
+uninstall: findlib-uninstall exe-uninstall
+
+install: findlib-install exe-install
+
 reinstall:
        $(MAKE) uninstall || :
        $(MAKE) install

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

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to