X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FDEVEL%2Focaml-http%2FMakefile.defs;h=4d9f7c5ca2116d275e6d309f62dfd88a9f579b3e;hb=97c2d258a5c524eb5c4b85208899d80751a2c82f;hp=8884bfd3d2bbbf8c5bbac6e2b8c1cd5f811912ca;hpb=c82a09fc52155246f8eaba28e9e6f32768505f76;p=helm.git diff --git a/helm/DEVEL/ocaml-http/Makefile.defs b/helm/DEVEL/ocaml-http/Makefile.defs index 8884bfd3d..4d9f7c5ca 100644 --- a/helm/DEVEL/ocaml-http/Makefile.defs +++ b/helm/DEVEL/ocaml-http/Makefile.defs @@ -1,19 +1,24 @@ 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) +DOT = dot DISTNAME = ocaml-http DISTDIR = $(DISTNAME)-$(DISTVERSION) EXTRA_DIST = \ - INSTALL LICENSE README META.in Makefile Makefile.defs .depend tophttp doc - + INSTALL LICENSE README META.in Makefile Makefile.defs \ + .depend