[Pkg-ocaml-maint-commits] r2460 - trunk/packages/ocaml-getopt/debian
Mike Furr
mfurr at costa.debian.org
Sun Jan 8 20:48:44 UTC 2006
Author: mfurr
Date: 2006-01-08 20:48:43 +0000 (Sun, 08 Jan 2006)
New Revision: 2460
Removed:
trunk/packages/ocaml-getopt/debian/control
Modified:
trunk/packages/ocaml-getopt/debian/changelog
trunk/packages/ocaml-getopt/debian/rules
Log:
3.09.1 rebuild
Modified: trunk/packages/ocaml-getopt/debian/changelog
===================================================================
--- trunk/packages/ocaml-getopt/debian/changelog 2006-01-08 19:31:10 UTC (rev 2459)
+++ trunk/packages/ocaml-getopt/debian/changelog 2006-01-08 20:48:43 UTC (rev 2460)
@@ -1,3 +1,16 @@
+ocaml-getopt (0.0.20040811-4) unstable; urgency=low
+
+ * Remove hard-coded abi strings
+ * Rebuild with 3.09.1
+
+ -- Mike Furr <mfurr at debian.org> Sun, 8 Jan 2006 13:30:50 -0500
+
+ocaml-getopt (0.0.20040811-3) unstable; urgency=low
+
+ * Rebuild with 3.09.0
+
+ -- Mike Furr <mfurr at debian.org> Fri, 25 Nov 2005 13:38:49 -0500
+
ocaml-getopt (0.0.20040811-2) unstable; urgency=low
* Added depends on ocaml-nox-3.08.3 to ensure compatibility.
Deleted: trunk/packages/ocaml-getopt/debian/control
===================================================================
--- trunk/packages/ocaml-getopt/debian/control 2006-01-08 19:31:10 UTC (rev 2459)
+++ trunk/packages/ocaml-getopt/debian/control 2006-01-08 20:48:43 UTC (rev 2460)
@@ -1,17 +0,0 @@
-Source: ocaml-getopt
-Section: devel
-Priority: optional
-Maintainer: Mike Furr <mfurr at debian.org>
-Build-Depends: debhelper (>= 4.0.0), ocaml-nox-3.08.3, ocaml-findlib
-Standards-Version: 3.6.1
-
-Package: libgetopt-ocaml-dev
-Architecture: any
-Depends: ocaml-nox-3.08.3
-Description: command line parsing library for OCaml
- This package provides the Getopt module that is an alternative to the
- Arg module in the standard distribution. Getopt supports the general
- command line syntax of GNU getopt and getopt_long, but is close to the
- spirit of the Arg module: the programmer gives to the general parsing
- function a list of possible options, together with the behavior of
- these options.
Modified: trunk/packages/ocaml-getopt/debian/rules
===================================================================
--- trunk/packages/ocaml-getopt/debian/rules 2006-01-08 19:31:10 UTC (rev 2459)
+++ trunk/packages/ocaml-getopt/debian/rules 2006-01-08 20:48:43 UTC (rev 2460)
@@ -1,14 +1,19 @@
#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+OCAMLABI = $(shell ocamlc -version)
+
+ABI_FILES = $(wildcard debian/*.in)
+
+.PHONY: transition
+
+transition: $(ABI_FILES)
+ for t in $^; do \
+ sed -e 's%#OCamlABI#%$(OCAMLABI)%' $$t >$${t%.in}; \
+ done
+
build: build-stamp
build-stamp:
@@ -37,8 +42,8 @@
dh_clean -k
dh_installdirs
- mkdir -p $(CURDIR)/debian/libgetopt-ocaml-dev/usr/lib/ocaml/3.08.3/
- $(MAKE) install OCAMLFIND_DESTDIR=$(CURDIR)/debian/libgetopt-ocaml-dev/usr/lib/ocaml/3.08.3/
+ mkdir -p $(CURDIR)/debian/libgetopt-ocaml-dev/usr/lib/ocaml/3.09.0/
+ $(MAKE) install OCAMLFIND_DESTDIR=$(CURDIR)/debian/libgetopt-ocaml-dev/usr/lib/ocaml/3.09.0/
# Build architecture-independent files here.
@@ -59,7 +64,7 @@
dh_fixperms
dh_installdeb
dh_shlibdeps
- dh_gencontrol
+ dh_gencontrol -- -VF:OCamlABI="$(OCAMLABI)"
dh_md5sums
dh_builddeb
More information about the Pkg-ocaml-maint-commits
mailing list