X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FDEVEL%2Focaml-http%2FMakefile.defs;h=642a7acb5fbd5f7cd42b488695067a80dcad3e74;hb=89262281b6e83bd2321150f81f1a0583645eb0c8;hp=a22325292be3dd3614aa1bdc4c08fed0c7dd3965;hpb=2f28bfb47f5fad6b3c5a705d9ede95700416dee8;p=helm.git diff --git a/helm/DEVEL/ocaml-http/Makefile.defs b/helm/DEVEL/ocaml-http/Makefile.defs index a22325292..642a7acb5 100644 --- a/helm/DEVEL/ocaml-http/Makefile.defs +++ b/helm/DEVEL/ocaml-http/Makefile.defs @@ -1,15 +1,20 @@ PKGNAME = http +DISTVERSION = $(shell dpkg-parsechangelog | egrep '^Version: ' | sed 's/^Version: //') -DEBUG_OPTS = -COMMON_OPTS = $(DEBUG_OPTS) -pp camlp4o -package "unix,pcre,netstring" +DEBUG_FLAGS = +REQUIRES = unix pcre netstring +COMMON_FLAGS = $(DEBUG_FLAGS) -pp camlp4o -package "$(REQUIRES)" +THREADS_FLAGS = -package threads -thread OCAMLFIND = ocamlfind -OCAMLC = $(OCAMLFIND) ocamlc $(COMMON_OPTS) -OCAMLOPT = $(OCAMLFIND) ocamlopt $(COMMON_OPTS) -OCAMLDEP = $(OCAMLFIND) ocamldep $(COMMON_OPTS) +OCAMLC = $(OCAMLFIND) ocamlc $(COMMON_FLAGS) +OCAMLOPT = $(OCAMLFIND) ocamlopt $(COMMON_FLAGS) +OCAMLDEP = $(OCAMLFIND) ocamldep $(COMMON_FLAGS) +OCAMLDOC := ocamldoc -I $(shell $(OCAMLFIND) query netstring) DISTNAME = ocaml-http -DISTVERSION = 0.0.1 DISTDIR = $(DISTNAME)-$(DISTVERSION) -EXTRA_DIST = INSTALL LICENSE README META.in Makefile Makefile.defs .depend tophttp +EXTRA_DIST = \ + INSTALL LICENSE README META.in Makefile Makefile.defs Makefile.overrides \ + .depend tophttp doc