]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/ocaml-http/Makefile.defs
ocaml 3.09 transition
[helm.git] / helm / DEVEL / ocaml-http / Makefile.defs
index a8dfd5fe2efdf948ea4c41978e2a24f61934e544..4d9f7c5ca2116d275e6d309f62dfd88a9f579b3e 100644 (file)
@@ -1,16 +1,16 @@
 PKGNAME = http
-DISTVERSION = $(shell dpkg-parsechangelog | egrep '^Version: ' | sed 's/^Version: //')
+DISTVERSION = $(shell dpkg-parsechangelog | egrep '^Version: ' | sed 's/^Version: //' | sed 's/-.*//')
 
 DEBUG_FLAGS =
-REQUIRES = unix pcre netstring
+REQUIRES = unix str pcre netstring
 COMMON_FLAGS = $(DEBUG_FLAGS) -pp camlp4o -package "$(REQUIRES)"
 THREADS_FLAGS = -package threads -thread
 OCAMLFIND = ocamlfind
 OCAMLC = $(OCAMLFIND) ocamlc $(COMMON_FLAGS)
 OCAMLOPT = $(OCAMLFIND) ocamlopt $(COMMON_FLAGS)
 OCAMLDEP = $(OCAMLFIND) ocamldep $(COMMON_FLAGS)
-OCAMLDOC :=    \
-       ocamldoc        \
+OCAMLDOC :=                                                    \
+       ocamldoc -stars                                         \
                $(shell $(OCAMLFIND) query -i-format unix)      \
                $(shell $(OCAMLFIND) query -i-format pcre)      \
                $(shell $(OCAMLFIND) query -i-format netstring)
@@ -20,5 +20,5 @@ DISTNAME = ocaml-http
 DISTDIR = $(DISTNAME)-$(DISTVERSION)
 EXTRA_DIST =   \
        INSTALL LICENSE README META.in Makefile Makefile.defs   \
-       .depend doc
+       .depend