[Pkg-ocaml-maint-commits] [SCM] mingw32-ocaml packaging branch, master, updated. upstream/4.00.1_20130426-20-gec7128c

Romain Beauxis toots at rastageeks.org
Wed Mar 27 14:22:12 UTC 2013


The following commit has been merged in the master branch:
commit 2b14db25677e474239983867067a7e401b13655b
Author: Romain Beauxis <toots at rastageeks.org>
Date:   Wed Mar 27 06:16:20 2013 -0500

    Change binary dir to bindir to avoid makefile issues.

diff --git a/debian/rules b/debian/rules
index 9ad4182..7567bab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,17 +2,19 @@
 # -*- makefile -*-
 
 DEB_HOST_ARCH_CPU := $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
+BINARY_DIR        := $(CURDIR)/bindir
 
 override_dh_auto_build:
 	rm -rf .pc build patches stamp-*
-	make MINGW_HOST=i686-w64-mingw32
+	mkdir -p $(BINARY_DIR)
+	make BINARY_DIR=$(BINARY_DIR) MINGW_HOST=i686-w64-mingw32
 ifeq ($(DEB_HOST_ARCH_CPU),x86_64)
 	rm -rf .pc build patches stamp-*
-	make MINGW_HOST=x86_64-w64-mingw32
+	make BINARY_DIR=$(BINARY_DIR) MINGW_HOST=x86_64-w64-mingw32
 endif
 
 override_dh_auto_install:
-	make install INSTALL_DIR=$(CURDIR)/debian/tmp
+	make install BINARY_DIR=$(BINARY_DIR) INSTALL_DIR=$(CURDIR)/debian/tmp
 	
 override_dh_auto_clean:
 	make clean

-- 
mingw32-ocaml packaging



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