The following commit has been merged in the master branch:
commit 0070920541ff3418721bda5068ec0034010be257
Author: Eugeniy Meshcheryakov <eu...@debian.org>
Date:   Thu Apr 7 17:28:20 2011 +0200

    Create texmf directories in build tree. Fixes FTBFSes.

diff --git a/debian/changelog b/debian/changelog
index d855321..7ebeec3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+coccinelle (0.2.5.deb-2) unstable; urgency=low
+
+  * Create texmf directories in build tree. Fixes FTBFSes.
+
+ -- Євгеній Мещеряков <eu...@debian.org>  Thu, 07 Apr 2011 17:27:28 +0200
+
 coccinelle (0.2.5.deb-1) unstable; urgency=low
 
   * New upstream release
diff --git a/debian/rules b/debian/rules
index 4506fb1..34fb79f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,7 +29,9 @@ override_dh_auto_configure:
 override_dh_auto_build:
        $(MAKE) $(COCCI_FLAGS) depend
        # make all.opt does not build documentation
-       $(MAKE) $(COCCI_FLAGS) -C docs all
+       mkdir texmf-var
+       mkdir texmf-config
+       TEXMFVAR="$(CURDIR)/texmf-var" TEXMFCONFIG="$(CURDIR)/texmf-config" 
$(MAKE) $(COCCI_FLAGS) -C docs all
        $(MAKE) $(COCCI_FLAGS) $(MAKE_TGT)
 
 override_dh_auto_test:
@@ -56,6 +58,7 @@ override_dh_auto_install:
 
 override_dh_auto_clean:
        $(MAKE) CLEANSUBDIRS=\$$\(MAKESUBDIRS\) distclean
+       rm -rf texmf-var texmf-config
 
 override_dh_compress:
        dh_compress -X.pdf -X.cocci -X.c

-- 
Debian packaging for coccinelle

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

Reply via email to