[Pkg-ocaml-maint-commits] [SCM] Debian packaging for coccinelle branch, master, updated. debian/0.2.5.deb-1-1-g0070920

Eugeniy Meshcheryakov eugen at debian.org
Sat Apr 9 20:58:02 UTC 2011


The following commit has been merged in the master branch:
commit 0070920541ff3418721bda5068ec0034010be257
Author: Eugeniy Meshcheryakov <eugen at 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.
+
+ -- Євгеній Мещеряков <eugen at 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



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