[Pkg-ocaml-maint-commits] r5178 - /trunk/packages/galax/trunk/debian/rules

zack at users.alioth.debian.org zack at users.alioth.debian.org
Sun Feb 17 15:54:24 UTC 2008


Author: zack
Date: Sun Feb 17 15:54:24 2008
New Revision: 5178

URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=5178
Log:
avoid installing CVS crap

Modified:
    trunk/packages/galax/trunk/debian/rules

Modified: trunk/packages/galax/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/galax/trunk/debian/rules?rev=5178&op=diff
==============================================================================
--- trunk/packages/galax/trunk/debian/rules (original)
+++ trunk/packages/galax/trunk/debian/rules Sun Feb 17 15:54:24 2008
@@ -13,13 +13,13 @@
  # and .byte together with the best symlink
 DEB_MAKE_INSTALL_TARGET = install LN=cp DESTDIR=$(CURDIR)/debian/tmp
 
+DEB_DH_INSTALL_ARGS += -XCVS
 ifneq ($(OCAML_HAVE_OCAMLOPT),yes)
 DEB_STRIP_EXCLUDE += usr/bin
 endif
 
 # configuration flags (incrementally defined)
 CFGFLAGS =
-
 # FHS integration
 CFGFLAGS += -galax-camllib $(OCAML_STDLIB_DIR)/galax
 CFGFLAGS += -galax-home /usr
@@ -29,7 +29,6 @@
 CFGFLAGS += -galax-examples /usr/share/doc/galax/examples
 CFGFLAGS += -galax-config /usr/share/doc/galax/config
 CFGFLAGS += -galax-man /usr/share/man
-
 # features
 CFGFLAGS += -with-galaxd
 
@@ -45,7 +44,9 @@
 # fix wrong permissions (+x) on some .mli files
 binary-post-install/libgalax-ocaml-dev::
 	chmod 644 debian/$(cdbs_curpkg)$(OCAML_STDLIB_DIR)/galax/*.mli
-# move generated API reference to the -doc package (ugly hack!)
+# move generated API reference to the -doc package (to do so,
+# libgalax-ocaml-dev have to be already installed, since it's during its
+# installation that ocamldoc is invoked by ocaml.mk)
 binary-post-install/galax-doc:: binary-post-install/libgalax-ocaml-dev
 binary-post-install/libgalax-ocaml-dev::
 	mv debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/html/api/ \




More information about the Pkg-ocaml-maint-commits mailing list