The following commit has been merged in the master branch:
commit 2b14db25677e474239983867067a7e401b13655b
Author: Romain Beauxis <to...@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

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to