[Pkg-ocaml-maint-commits] [SCM] ceve packaging branch, master, updated. eb4fb9a969b7336149caf5b5bb51235fc67e2406
Stefano Zacchiroli
zack at upsilon.cc
Tue Jun 3 12:12:39 UTC 2008
The following commit has been merged in the master branch:
commit eb4fb9a969b7336149caf5b5bb51235fc67e2406
Author: Stefano Zacchiroli <zack at upsilon.cc>
Date: Tue Jun 3 14:12:06 2008 +0200
draft debian/rules
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..3d04f04
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/class/ocaml.mk
+
+ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
+DEB_MAKE_BUILD_TARGET = opt
+else
+DEB_MAKE_BUILD_TARGET = all
+endif
+DEB_MAKE_INSTALL_TARGET = install BINDIR=$(CURDIR)/debian/$(cdbs_curpkg)/usr/bin
--
ceve packaging
More information about the Pkg-ocaml-maint-commits
mailing list