X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FDEVEL%2Focaml-http%2FMakefile.defs;h=8884bfd3d2bbbf8c5bbac6e2b8c1cd5f811912ca;hb=d4993a3584bd83a87f642e8766eb86c0a24b682b;hp=e94f344ecbc7b2c2b6f9cadffdab5c5120adb828;hpb=9891e5853b5c05f4b60bf95b828d8f091fb7732c;p=helm.git diff --git a/helm/DEVEL/ocaml-http/Makefile.defs b/helm/DEVEL/ocaml-http/Makefile.defs index e94f344ec..8884bfd3d 100644 --- a/helm/DEVEL/ocaml-http/Makefile.defs +++ b/helm/DEVEL/ocaml-http/Makefile.defs @@ -1,13 +1,14 @@ PKGNAME = http -DISTVERSION = 0.0.5 +DISTVERSION = $(shell dpkg-parsechangelog | egrep '^Version: ' | sed 's/^Version: //') -DEBUG_OPTS = -REQUIRES = unix pcre netstring threads -COMMON_OPTS = $(DEBUG_OPTS) -pp camlp4o -package "$(REQUIRES)" +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) -thread -OCAMLOPT = $(OCAMLFIND) ocamlopt $(COMMON_OPTS) -thread -OCAMLDEP = $(OCAMLFIND) ocamldep $(COMMON_OPTS) +OCAMLC = $(OCAMLFIND) ocamlc $(COMMON_FLAGS) +OCAMLOPT = $(OCAMLFIND) ocamlopt $(COMMON_FLAGS) +OCAMLDEP = $(OCAMLFIND) ocamldep $(COMMON_FLAGS) OCAMLDOC = ocamldoc DISTNAME = ocaml-http