[Pkg-ocaml-maint-commits] r1906 - trunk/packages/ledit/trunk/debian
Sven Luther
luther at costa.debian.org
Wed Nov 2 16:35:12 UTC 2005
Author: luther
Date: 2005-11-02 16:35:11 +0000 (Wed, 02 Nov 2005)
New Revision: 1906
Added:
trunk/packages/ledit/trunk/debian/control.in
Removed:
trunk/packages/ledit/trunk/debian/control
Modified:
trunk/packages/ledit/trunk/debian/rules
Log:
Adapted to new 0-hardcoded abi scheme.
Deleted: trunk/packages/ledit/trunk/debian/control
===================================================================
--- trunk/packages/ledit/trunk/debian/control 2005-11-02 16:30:19 UTC (rev 1905)
+++ trunk/packages/ledit/trunk/debian/control 2005-11-02 16:35:11 UTC (rev 1906)
@@ -1,14 +0,0 @@
-Source: ledit
-Section: editors
-Priority: optional
-Maintainer: Sven Luther <luther at debian.org>
-Build-Depends-Indep: debhelper (>> 4.0.0), ocaml-nox (>= 3.09.0), dpatch
-Standards-Version: 3.6.2
-
-Package: ledit
-Architecture: all
-Depends: ${shlibs:Depends}, ocaml-base-nox-${F:OcamlABI}
-Description: line editor for interactive programs
- Ledit is a line editor, allowing to use control commands like in emacs
- or in shells (bash, tcsh). To be used with interactive commands. It is
- written in Ocaml and Camlp4 and uses the library unix.cma.
Copied: trunk/packages/ledit/trunk/debian/control.in (from rev 1896, trunk/packages/ledit/trunk/debian/control)
===================================================================
--- trunk/packages/ledit/trunk/debian/control 2005-11-02 15:00:21 UTC (rev 1896)
+++ trunk/packages/ledit/trunk/debian/control.in 2005-11-02 16:35:11 UTC (rev 1906)
@@ -0,0 +1,14 @@
+Source: ledit
+Section: editors
+Priority: optional
+Maintainer: Sven Luther <luther at debian.org>
+Build-Depends-Indep: debhelper (>> 4.0.0), ocaml-nox (>= #OcamlABI#), dpatch
+Standards-Version: 3.6.2
+
+Package: ledit
+Architecture: all
+Depends: ${shlibs:Depends}, ocaml-base-nox-${F:OcamlABI}
+Description: line editor for interactive programs
+ Ledit is a line editor, allowing to use control commands like in emacs
+ or in shells (bash, tcsh). To be used with interactive commands. It is
+ written in Ocaml and Camlp4 and uses the library unix.cma.
Modified: trunk/packages/ledit/trunk/debian/rules
===================================================================
--- trunk/packages/ledit/trunk/debian/rules 2005-11-02 16:30:19 UTC (rev 1905)
+++ trunk/packages/ledit/trunk/debian/rules 2005-11-02 16:35:11 UTC (rev 1906)
@@ -6,13 +6,20 @@
include /usr/share/dpatch/dpatch.make
PACKAGE = ledit
VERSION = 1.11
-OCAMLABI = `ocamlc -version`
+OCAMLABI = ${shell ocamlc -version}
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+debian/control:
+ sed -e 's%#OcamlABI#%$(OCAMLABI)%' $@.in >$@
+
configure: configure-stamp
configure-stamp:
+ for t in `find . -name \*.in | | grep -v debian/control.in`; do \
+ sed -e 's%#OcamlABI#%$(OCAMLABI)%' $$t >$${t%.in}; \
+ done
+
dh_testdir
# Add here commands to configure the package.
More information about the Pkg-ocaml-maint-commits
mailing list