[Pkg-ocaml-maint-commits] r5776 - /trunk/packages/ocamlgraph/trunk/debian/rules
zack at users.alioth.debian.org
zack at users.alioth.debian.org
Fri Jun 20 15:28:55 UTC 2008
Author: zack
Date: Fri Jun 20 15:28:55 2008
New Revision: 5776
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=5776
Log:
force destdir for Makefile install to be debian/PKGNAME/ as now we ship
multiple binary package and default DEB_DESTDIR has become debian/tmp/
Modified:
trunk/packages/ocamlgraph/trunk/debian/rules
Modified: trunk/packages/ocamlgraph/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlgraph/trunk/debian/rules?rev=5776&op=diff
==============================================================================
--- trunk/packages/ocamlgraph/trunk/debian/rules (original)
+++ trunk/packages/ocamlgraph/trunk/debian/rules Fri Jun 20 15:28:55 2008
@@ -25,13 +25,14 @@
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/class/ocaml.mk
-DEB_MAKE_CLEAN_TARGET := distclean
-DEB_MAKE_BUILD_TARGET := all doc editor
-DEB_MAKE_INSTALL_TARGET := install-findlib DESTDIR="$(DEB_DESTDIR)/$(OCAML_STDLIB_DIR)"
+DEV_PKG = libocamlgraph-ocaml-dev
+DEB_MAKE_CLEAN_TARGET = distclean
+DEB_MAKE_BUILD_TARGET = all doc editor
+DEB_MAKE_INSTALL_TARGET = install-findlib DESTDIR="$(CURDIR)/debian/$(DEV_PKG)/$(OCAML_STDLIB_DIR)"
+OCAML_OCAMLDOC_PACKAGES_DOCBASE = $(DEV_PKG)
CDBS_BUILD_DEPENDS := $(subst ocaml-nox,ocaml-nox (>= 3.10.0-9),$(CDBS_BUILD_DEPENDS))
-OCAML_OCAMLDOC_PACKAGES_DOCBASE := libocamlgraph-ocaml-dev
ifeq ($(OCAML_HAVE_OCAMLOPT),no)
DEB_STRIP_EXCLUDE += usr/bin
@@ -42,5 +43,5 @@
-$(RM) -r "$(CURDIR)/doc"
-$(RM) $(CURDIR)/*.byte
-$(RM) $(CURDIR)/*.opt
- -$(RM) "$(CURDIR)/debian/libocamlgraph-ocaml-dev.dirs"
- -$(RM) "$(CURDIR)/debian/libocamlgraph-ocaml-dev.doc-base.ocamldoc-apiref"
+ -$(RM) "$(CURDIR)/debian/$(DEV_PKG).dirs"
+ -$(RM) "$(CURDIR)/debian/$(DEV_PKG).doc-base.ocamldoc-apiref"
More information about the Pkg-ocaml-maint-commits
mailing list