# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
-# $Id: ocaml-vars.mk 4403 2007-09-07 21:09:52Z gildor $
+# $Id: ocaml-vars.mk 4643 2007-10-18 00:21:51Z gildor $
_cdbs_scripts_path ?= /usr/lib/cdbs
_cdbs_rules_path ?= /usr/share/cdbs/1/rules
# can use "$(cdbs_curpkg)" stem there, it will be expanded to the current
# package name by CDBS
# For debian/rules writers
-OCAML_OCAMLDOC_DESTDIR_HTML = $(shell ocamldoc-api-ref-config --html-directory $(cdbs_curpkg))
+OCAML_OCAMLDOC_DESTDIR_HTML = $(shell $(_cdbs_class_path)/ocamldoc-api-ref-config --html-directory $(cdbs_curpkg))
endif
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
-# $Id: ocaml.mk 4635 2007-10-17 23:27:28Z gildor $
+# $Id: ocaml.mk 4643 2007-10-18 00:21:51Z gildor $
_cdbs_scripts_path ?= /usr/lib/cdbs
_cdbs_rules_path ?= /usr/share/cdbs/1/rules
fi; \
OCAMLDOC="ocamlfind $$OCAMLDOC $(OCAML_OCAMLDOC_OCAMLFIND_FLAGS)"; \
fi; \
- OCAML_OCAMLDOC_INCLUDE=`for i in "$(OCAML_OCAMLDOC_PACKAGES)"; do \
+ OCAML_OCAMLDOC_INCLUDE=`for i in $(OCAML_OCAMLDOC_PACKAGES); do \
find debian/$$i/$(OCAML_STDLIB_DIR)/ -type d -exec echo -I \{} \; ; \
done`; \
if (echo $(OCAML_OCAMLDOC_PACKAGES) | egrep '( |^)$(cdbs_curpkg)( |$$)' > /dev/null) ; then \
# MA 02110-1301, USA.
set -e
-set -x
+#set -x
print_usage ()
{
camlrun library (called "camlrun_shared") made of PIC objects
[ Sylvain Le Gall ]
- * ... fixes in cdbs class for ocamldoc generation ... (TODO: still to be
- checked) [ entry added by Zack ]
- * Remove ia64 and arm native arch (no more ocamlopt for this arches)
- * Resurect debian/cdbs/ocaml-docbase-template.txt for compatibility
+ * fixes in cdbs class for ocamldoc generation, provides
+ ocamldoc-api-ref-config to centralize generation of .ocamldoc-apiref
+ * remove ia64, arm and alpha native arches (no more ocamlopt for this arches)
-- Sylvain Le Gall <gildor@debian.org> Wed, 17 Oct 2007 22:29:46 +0200
you do not require any graphical capabilities for your runtime.
Package: ocaml-native-compilers
-Architecture: alpha amd64 hurd-i386 i386 kfreebsd-i386 powerpc sparc
+Architecture: amd64 hurd-i386 i386 kfreebsd-i386 powerpc sparc
Depends: ocaml-nox (= ${binary:Version}), ocaml-nox-${F:OCamlABI}, gcc, binutils, ${shlibs:Depends}
Provides: ocaml-best-compilers
Replaces: ocaml-nox (<= 3.09.2-3)
-alpha amd64 hurd-i386 i386 kfreebsd-i386 powerpc sparc
+amd64 hurd-i386 i386 kfreebsd-i386 powerpc sparc
</para>
<para>
- The bytecode versions are portable. In order to spare the buildds and the Debian archive, bytecode versions should be compiled once for all for big packages (which either take a lot of place on disks or take a lot of time to build). For example, the <filename>spamoracle</filename> package provides the <filename>spamoracle-byte</filename> package which is <varname>Architecture: all</varname> and contains the bytecode version of spamoracle, and the <filename>spamoracle</filename> package which contains the native version of spamoracle and is available only where a native OCaml compiler is available (<varname>Architecture: alpha amd64 i386 kfreebsd-i386 powerpc sparc</varname>).
+ The bytecode versions are portable. In order to spare the buildds and the Debian archive, bytecode versions should be compiled once for all for big packages (which either take a lot of place on disks or take a lot of time to build). For example, the <filename>spamoracle</filename> package provides the <filename>spamoracle-byte</filename> package which is <varname>Architecture: all</varname> and contains the bytecode version of spamoracle, and the <filename>spamoracle</filename> package which contains the native version of spamoracle and is available only where a native OCaml compiler is available (<varname>Architecture: amd64 i386 kfreebsd-i386 powerpc sparc</varname>).
</para>
<para>
<!ENTITY ocaml-sys-dir-base "/usr/lib/ocaml">
<!ENTITY ocaml-sys-dir "&ocaml-sys-dir-base;/&ocaml-version;">
<!ENTITY ocaml-metas-dir "&ocaml-sys-dir;/METAS">
-<!ENTITY supported-archs "alpha, amd64, i386, kfreebsd-i386, powerpc, sparc">
+<!ENTITY supported-archs "amd64, i386, kfreebsd-i386, powerpc, sparc">
<!ENTITY ocaml-compat "1">
<!ENTITY ocaml-pkg "<application>ocaml</application>">
<!ENTITY ocaml-vpkg "<application>ocaml-&ocaml-version;</application>">