[Pkg-ocaml-maint-commits] [SCM] dh-ocaml packaging branch, master, updated. debian/0.5.0-51-gba85137
Sylvain Le Gall
gildor at debian.org
Mon Jul 27 22:11:35 UTC 2009
The following commit has been merged in the master branch:
commit 6b01fbfc843516b4deb8631d6d2fb2f0eb681cb8
Author: Sylvain Le Gall <gildor at debian.org>
Date: Mon Jul 27 17:49:20 2009 +0000
Revert removal of ocamlinit.mk and adapt it to dh_ocamlinit
This partial reverts commit e743165198da44825c713e8d7056dae2c077b36a.
diff --git a/share/ocamlinit.mk b/share/ocamlinit.mk
new file mode 100644
index 0000000..046af6a
--- /dev/null
+++ b/share/ocamlinit.mk
@@ -0,0 +1,39 @@
+#
+# Description: Useful Makefile rules for OCaml related packages
+#
+# Copyright © 2009 Stéphane Glondu <steph at glondu.net>
+# © 2009 Sylvain Le Gall
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301 USA.
+#
+
+_ocaml_share_path ?= /usr/share/ocaml
+
+ifndef _ocaml_share_ocamlinit
+_ocaml_share_ocamlinit = 1
+
+include $(_ocaml_share_path)/ocamlvars.mk
+
+ocamlinit: ocamlinit-stamp
+ocamlinit-stamp:
+ dh_ocamlinit
+
+ocamlinit-clean:
+ dh_ocamlinit -d
+
+.PHONY: ocamlinit ocamlinit-clean
+
+endif
--
dh-ocaml packaging
More information about the Pkg-ocaml-maint-commits
mailing list