[Pkg-ocaml-maint-commits] r1617 - trunk/tools/dh_ocaml

Stefano Zacchiroli zack at costa.debian.org
Sat Aug 20 10:09:28 UTC 2005


Author: zack
Date: 2005-08-20 10:09:27 +0000 (Sat, 20 Aug 2005)
New Revision: 1617

Modified:
   trunk/tools/dh_ocaml/Makefile
Log:
bugfix: "make debhelper" should now work even if patched debhelper version have been installed in the past


Modified: trunk/tools/dh_ocaml/Makefile
===================================================================
--- trunk/tools/dh_ocaml/Makefile	2005-08-19 12:42:05 UTC (rev 1616)
+++ trunk/tools/dh_ocaml/Makefile	2005-08-20 10:09:27 UTC (rev 1617)
@@ -1,6 +1,6 @@
 
-DEBHELPER_VERSION := $(shell grep-available -X -F Package -s Version debhelper | cut -f 2 -d ' ')
-#  DEBHELPER_VERSION = 4.9.5
+DEBHELPER_VERSION := $(patsubst %+dh_ocaml,%,$(shell grep-available -X -F Package -s Version debhelper | cut -f 2 -d ' '))
+# DEBHELPER_VERSION = 4.9.5
 OCAML_VERSION = 3.08.3
 OCAML_LIB_DIR = /usr/lib/ocaml/$(OCAML_VERSION)
 DEBHELPER_DSC = debhelper_$(DEBHELPER_VERSION).dsc




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