[Pkg-ocaml-maint-commits] r3064 - in
/trunk/packages/pxp/trunk/debian: changelog control.in dirs rules
zack at users.alioth.debian.org
zack at users.alioth.debian.org
Tue Sep 5 20:37:44 UTC 2006
Author: zack
Date: Tue Sep 5 20:37:43 2006
New Revision: 3064
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=3064
Log:
ready for a new upload: decent debian/* setting
Removed:
trunk/packages/pxp/trunk/debian/control.in
trunk/packages/pxp/trunk/debian/dirs
Modified:
trunk/packages/pxp/trunk/debian/changelog
trunk/packages/pxp/trunk/debian/rules
Modified: trunk/packages/pxp/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/pxp/trunk/debian/changelog?rev=3064&op=diff
==============================================================================
--- trunk/packages/pxp/trunk/debian/changelog (original)
+++ trunk/packages/pxp/trunk/debian/changelog Tue Sep 5 20:37:43 2006
@@ -1,3 +1,14 @@
+pxp (1.1.96-6) unstable; urgency=low
+
+ * debian/rules
+ - avoid to create debian/control from debian/control.in on ocamlinit
+ - removed from the source package files which are generated at build time
+ from the corresponding .in files
+ * debian/control.in
+ - file removed, no longer needed
+
+ -- Stefano Zacchiroli <zack at debian.org> Tue, 5 Sep 2006 22:36:25 +0200
+
pxp (1.1.96-5) unstable; urgency=low
* Upload to unstable.
Modified: trunk/packages/pxp/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/pxp/trunk/debian/rules?rev=3064&op=diff
==============================================================================
--- trunk/packages/pxp/trunk/debian/rules (original)
+++ trunk/packages/pxp/trunk/debian/rules Tue Sep 5 20:37:43 2006
@@ -4,15 +4,19 @@
include /usr/share/cdbs/1/rules/dpatch.mk
PKGNAME = libpxp-ocaml-dev
+
OCAMLABI := $(shell ocamlc -version)
OCAMLLIBDIR := $(shell ocamlc -where)
-OFILES := $(patsubst %.in,%,$(shell ls debian/*.in))
+OFILES := $(filter-out debian/control,$(patsubst %.in,%,$(wildcard debian/*.in)))
HAVE_OCAMLOPT := $(shell test -x /usr/bin/ocamlopt && echo "yes")
DEB_DH_GENCONTROL_ARGS = -- -VF:OCamlABI="$(OCAMLABI)"
-DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(CURDIR)/debian/$(PKGNAME)$(OCAMLLIBDIR)
ocamlinit:
for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/g' $$f.in > $$f; done
+makebuilddir/$(PKGNAME):: ocamlinit
+
+DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(CURDIR)/debian/$(PKGNAME)$(OCAMLLIBDIR)
+
configure/$(PKGNAME)::
./configure -without-wlex -without-wlex-compat
rm -f README # it's a symlink, the real one is doc/README
More information about the Pkg-ocaml-maint-commits
mailing list