[Pkg-ocaml-maint-commits] [SCM] mingw32-ocaml packaging branch, master, updated. 63ccffc2e8c0692a10387137046a7f57e0d460b1
Romain Beauxis
toots at rastageeks.org
Fri Jan 15 23:33:57 UTC 2010
The following commit has been merged in the master branch:
commit 63ccffc2e8c0692a10387137046a7f57e0d460b1
Author: Romain Beauxis <toots at rastageeks.org>
Date: Fri Jan 15 17:33:30 2010 -0600
Symlink manuals for the ocaml cross-compiler binaries to the original manuals.
diff --git a/debian/rules b/debian/rules
index 881661a..b2525a3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -147,7 +147,7 @@ $(INSTALL_PATH)/usr/$(MINGW32_HOST)/bin/ocamlopt:
LIBDIR=$(INSTALL_PATH)/usr/$(MINGW32_HOST)/lib/ocaml \
installopt
cd $(DEB_BUILDDIR)/$(OCAML_DIR) && install -m 0755 ocamlc $(INSTALL_PATH)/usr/$(MINGW32_HOST)/bin
- # Rename all the binaries to target-binary.
+ # Rename all the binaries to target-binary
for f in ocamlc ocamlcp ocamldep ocamlmklib ocamlmktop ocamlopt ocamlprof; do \
dh_link usr/$(MINGW32_HOST)/bin/$$f usr/bin/$(MINGW32_HOST)-$$f; \
done
@@ -161,6 +161,10 @@ install/mingw32-ocaml::
# Remove documentation which is already available
# in the Debian native package.
rm -r $(INSTALL_PATH)/usr/share/man
+ # Symlink manuals for the cross-compiler binaries.
+ for f in ocamlc ocamlcp ocamldep ocamlmklib ocamlmktop ocamlopt ocamlprof; do \
+ dh_link usr/share/man/man1/$$f.1.gz usr/share/man/man1/$(MINGW32_HOST)-$$f.1.gz ; \
+ done
# Remove ocamlfind binary - we will use the native version.
rm $(INSTALL_PATH)/usr/$(MINGW32_HOST)/bin/ocamlfind
rm $(INSTALL_PATH)/usr/$(MINGW32_HOST)/bin/safe_camlp4
--
mingw32-ocaml packaging
More information about the Pkg-ocaml-maint-commits
mailing list