[Pkg-ocaml-maint-commits] [SCM] calendar packaging branch, master, updated. debian/2.01.1-2-2-ga56dc9c
Mehdi Dogguy
dogguy at pps.jussieu.fr
Wed Mar 18 17:57:20 UTC 2009
The following commit has been merged in the master branch:
commit a56dc9ce30f1fdae47f333b2776be46c3d08c654
Author: Mehdi Dogguy <dogguy at pps.jussieu.fr>
Date: Wed Mar 18 18:56:11 2009 +0100
Modify install_destdir.dpatch: not install cmi of then inner modules nor calendarLib.o
diff --git a/debian/changelog b/debian/changelog
index 6e93d30..a30a7ce 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ calendar (2.01.1-3) UNRELEASED; urgency=low
* Add meta.dpatch to allow any executable to be linked using ocamlfind.
(Closes: #520287)
+ * Modify install_destdir.dpatch: not install cmi of then inner modules
+ nor calendarLib.o
-- Mehdi Dogguy <dogguy at pps.jussieu.fr> Wed, 18 Mar 2009 18:14:14 +0100
diff --git a/debian/patches/install_destdir.dpatch b/debian/patches/install_destdir.dpatch
index a1dd210..dcd6ea9 100755
--- a/debian/patches/install_destdir.dpatch
+++ b/debian/patches/install_destdir.dpatch
@@ -18,7 +18,7 @@ diff -urNad calendar~/Makefile.in calendar/Makefile.in
(if test -d `ocamlfind install -help | grep destdir | sed -e "s/.*default: \(.*\))/\1/"`/$(NAME); then $(MAKE) uninstall; fi;\
- $(CAMLFIND) install $(NAME) target/*.cm[iox] target/*.cma target/*.cmxa $(MLI) $(CMI) $(CLIBS) META\
+ mkdir -p $(OCAML_LIB_DIR);\
-+ $(CAMLFIND) install -destdir $(OCAML_LIB_DIR) $(NAME) target/*.cm[iox] target/*.cma $(wildcard target/*.cmxa) $(MLI) $(CMI) $(CLIBS) META\
++ $(CAMLFIND) install -destdir $(OCAML_LIB_DIR) $(NAME) target/calendarLib.cmi target/calendarLib.cma $(wildcard target/calendarLib.cmx target/calendarLib.cmxa target/calendarLib.a) $(MLI) META\
)else \
(echo; echo "Not the good version. Please, do :"; \
echo " make clean && make"; \
--
calendar packaging
More information about the Pkg-ocaml-maint-commits
mailing list