[Pkg-ocaml-maint-commits] [SCM] bibtex2html packaging branch, master, updated. debian/1.96-2-4-g0ec6601

Ralf Treinen treinen at debian.org
Mon Apr 18 17:15:35 UTC 2011


The following commit has been merged in the master branch:
commit ff54ff2d94552543c36c4e182bda4b6564f9f461
Author: Ralf Treinen <treinen at debian.org>
Date:   Mon Apr 18 18:54:42 2011 +0200

    add a test target for byte compilation

diff --git a/debian/changelog b/debian/changelog
index 22c9329..b412a7c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,10 @@
 bibtex2html (1.96-3) unstable; urgency=low
 
   * Standards-version 3.9.2 (no change)
+  * Patch test-byte: Add to the makefile a test target for byte compilation.
+    Add in debian/rules an override to use this instead of test target.
 
- -- Ralf Treinen <treinen at debian.org>  Mon, 18 Apr 2011 09:30:43 +0200
+ -- Ralf Treinen <treinen at debian.org>  Mon, 18 Apr 2011 18:53:23 +0200
 
 bibtex2html (1.96-2) experimental; urgency=low
 
diff --git a/debian/patches/series b/debian/patches/series
index 1c90bd4..e3286d7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 charset
 doc-noexamples
+test-byte
diff --git a/debian/patches/test-byte b/debian/patches/test-byte
new file mode 100644
index 0000000..29f74f4
--- /dev/null
+++ b/debian/patches/test-byte
@@ -0,0 +1,19 @@
+Author: Ralf Treinen <treinen at debian.org>
+Description: add a test target for byte compilation
+
+Index: bibtex2html/Makefile.in
+===================================================================
+--- bibtex2html.orig/Makefile.in	2011-04-18 18:50:40.000000000 +0200
++++ bibtex2html/Makefile.in	2011-04-18 18:50:45.000000000 +0200
+@@ -76,6 +76,11 @@
+ 	./bibtex2html$(EXE) test.bib
+ 	@echo "test passed successfully"
+ 
++test-byte: bibtex2html.byte bib2bib.byte
++	./bib2bib$.byte test.bib
++	./bibtex2html$.byte test.bib
++	@echo "test passed successfully"
++
+ install-indep:
+ 	mkdir -p $(BINDIR)
+ 	cp aux2bib $(BINDIR)/aux2bib
diff --git a/debian/rules b/debian/rules
index 9efd2b5..a372387 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,5 +16,8 @@ override_dh_auto_build:
 override_dh_auto_install:
 	$(MAKE) install-byte
 
+override_dh_auto_test:
+	$(MAKE) test-byte
+
 # do not strip ocaml bytecode
 override_dh_strip:

-- 
bibtex2html packaging



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