[Pkg-ocaml-maint-commits] [SCM] pcre-ocaml packaging branch, master, updated. debian/5.15.0-1-17-gdcd8cb1

Stephane Glondu steph at glondu.net
Fri Dec 5 16:44:21 UTC 2008


The following commit has been merged in the master branch:
commit 59aa37b0b5b59a1808fb0dc8dfb8f13b681ec9c5
Author: Stephane Glondu <steph at glondu.net>
Date:   Fri Dec 5 16:52:23 2008 +0100

    Don't install make_win32_cloc.bat instead of removing it from sources

diff --git a/debian/rules b/debian/rules
index 8c133ae..ef824c7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,7 @@ PKGNAME = libpcre-ocaml-dev
 DESTDIR := $(CURDIR)/debian/tmp$(OCAML_STDLIB_DIR)
 DOCDIR = $(CURDIR)/debian/doc/html
 OCAML_OCAMLDOC_PACKAGES = $(OCAML_LIBDEV_PACKAGES)
+DEB_INSTALL_EXAMPLES_$(PKGNAME) := -Xmake_win32_cloc.bat
 
 ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
 	DEB_MAKE_BUILD_TARGET = opt NO_CUSTOM=y
@@ -16,6 +17,3 @@ else
 	DEB_MAKE_BUILD_TARGET = all NO_CUSTOM=y
 	DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(DESTDIR)
 endif
-
-build/$(PKGNAME)::
-	rm -f examples/cloc/make_win32_cloc.bat

-- 
pcre-ocaml packaging



More information about the Pkg-ocaml-maint-commits mailing list