+lablgtkmathview (0.7.3-1) unstable; urgency=low
+
+ * debian/*.dirs
+ - files removed: they were not needed since installation target
+ automatically create needed directories, and they induced spurious
+ empty directories in binary packages (closes: #369072)
+ * debian/control.in
+ - file removed: no longer needed
+ * debian/control
+ - added X-Vcs-Svn field pointing to package's svn repository
+ - added build-dep on cdbs
+ * debian/rules
+ - switched to cdbs
+ - moved destdir creation to "upstream" Makefile
+ - moved detection of native code compilation availability to "upstream"
+ Makefile/configure
+
+ -- Stefano Zacchiroli <zack@debian.org> Sun, 10 Sep 2006 23:41:39 +0200
+
lablgtkmathview (0.7.2-5) unstable; urgency=low
* Rebuilt against OCaml 3.09.2, bumped deps accordingly.
Section: devel
Priority: optional
Maintainer: Stefano Zacchiroli <zack@debian.org>
-Build-Depends: debhelper (>> 4.0.0), ocaml-nox (>= 3.09.2), ocaml-findlib (>= 1.1), liblablgtk2-ocaml-dev (>= 2.6.0-2), libgdome2-ocaml-dev (>= 0.2.3-5), libgtkmathview-dev (>= 0.7.5), pkg-config
+Build-Depends: debhelper (>> 4.0.0), cdbs, ocaml-nox (>= 3.09.2), ocaml-findlib (>= 1.1), liblablgtk2-ocaml-dev (>= 2.6.0-2), libgdome2-ocaml-dev (>= 0.2.3-5), libgtkmathview-dev (>= 0.7.5), pkg-config
Standards-Version: 3.7.2
+XS-X-Vcs-Svn: svn://mowgli.cs.unibo.it/trunk/helm/software/DEVEL/lablgtkmathview
Package: liblablgtkmathview-ocaml
Architecture: any
+++ /dev/null
-Source: lablgtkmathview
-Section: devel
-Priority: optional
-Maintainer: Stefano Zacchiroli <zack@debian.org>
-Build-Depends: debhelper (>> 4.0.0), ocaml-nox (>= @OCamlABI@), ocaml-findlib (>= 1.1), liblablgtk2-ocaml-dev (>= 2.6.0-2), libgdome2-ocaml-dev (>= 0.2.3-5), libgtkmathview-dev (>= 0.7.5), pkg-config
-Standards-Version: 3.7.2
-
-Package: liblablgtkmathview-ocaml
-Architecture: any
-Section: libs
-Depends: ocaml-base-nox-${F:OCamlABI}, liblablgtk2-ocaml (>= 2.6.0-2), libgdome2-ocaml (>= 0.2.3-5), libgtkmathview0c2a (>= 0.7.5), ${shlibs:Depends}, ${misc:Depends}
-Description: OCaml bindings for libgtkmathview, a GTK widget to render MathML
- This is the Ocaml binding for the GtkMathView widget, that is
- currently available in the libgtkmathview0 package.
- .
- This package contains only the shared runtime stub libraries.
-
-Package: liblablgtkmathview-ocaml-dev
-Architecture: any
-Section: libdevel
-Depends: ocaml-nox-${F:OCamlABI}, liblablgtk2-ocaml-dev (>= 2.6.0-2), liblablgtkmathview-ocaml (= ${Source-Version}), ocaml-findlib, libgdome2-ocaml-dev (>= 0.2.3-5), libgtkmathview-dev (>= 0.7.5), ${misc:Depends}
-Description: OCaml bindings for libgtkmathview, a GTK widget to render MathML
- These are the Ocaml bindings for the GtkMathView widget, that is
- currently available in the libgtkmathview0 package.
- .
- This package contains the development part of the lablgtkmathview package.
-
+++ /dev/null
-usr/lib/ocaml/3.09.0
+++ /dev/null
-debian/tmp/usr/lib/ocaml/3.09.2/lablgtkmathview/*.a
-debian/tmp/usr/lib/ocaml/3.09.2/lablgtkmathview/*.cma
-debian/tmp/usr/lib/ocaml/3.09.2/lablgtkmathview/*.cmi
-debian/tmp/usr/lib/ocaml/3.09.2/lablgtkmathview/*.cmxa
-debian/tmp/usr/lib/ocaml/3.09.2/lablgtkmathview/META
-debian/tmp/usr/lib/ocaml/3.09.2/lablgtkmathview/*.ml
-debian/tmp/usr/lib/ocaml/3.09.2/lablgtkmathview/*.mli
+++ /dev/null
-usr/lib/ocaml/3.09.0/stublibs
+++ /dev/null
-debian/tmp/usr/lib/ocaml/3.09.2/lablgtkmathview/*.so usr/lib/ocaml/3.09.2/stublibs/
#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.mk
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+PKGNAME = liblablgtkmathview-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)"
ocamlinit:
for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/g' $$f.in > $$f; done
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- ./configure
+makebuilddir/$(PKGNAME):: ocamlinit
- touch configure-stamp
-
-build: configure-stamp build-stamp
-build-stamp:
- dh_testdir
-
- $(MAKE)
- if [ -x /usr/bin/ocamlopt ]; then $(MAKE) opt; else true; fi
-
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
-
- -$(MAKE) distclean
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- mkdir -p debian/tmp$(OCAMLLIBDIR)
- $(MAKE) install PREFIX=debian/tmp$(OCAMLLIBDIR)
-
-binary-arch: build install
- dh_install
- dh_testdir
- dh_testroot
- dh_installdocs
- dh_installexamples
- dh_installman
- dh_installinfo
- dh_installchangelogs ChangeLog
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol -- -VF:OCamlABI="$(OCAMLABI)"
- dh_md5sums
- dh_builddeb
-
-binary-indep: build install
-binary: binary-indep binary-arch
-.PHONY: build clean binary-arch binary install configure
+DEB_MAKE_INSTALL_TARGET = install PREFIX=$(CURDIR)/debian/tmp$(OCAMLLIBDIR)