]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/ocaml-http/Makefile.defs
- added targets relative to ocamldoc doc generation
[helm.git] / helm / DEVEL / ocaml-http / Makefile.defs
index 770b320a574bca6f3adad903016d5856a24b6ba6..e94f344ecbc7b2c2b6f9cadffdab5c5120adb828 100644 (file)
@@ -2,14 +2,17 @@ PKGNAME = http
 DISTVERSION = 0.0.5
 
 DEBUG_OPTS =
-COMMON_OPTS = $(DEBUG_OPTS) -pp camlp4o -package "unix,pcre,netstring,threads"
+REQUIRES = unix pcre netstring threads
+COMMON_OPTS = $(DEBUG_OPTS) -pp camlp4o -package "$(REQUIRES)"
 OCAMLFIND = ocamlfind
 OCAMLC = $(OCAMLFIND) ocamlc $(COMMON_OPTS) -thread
 OCAMLOPT = $(OCAMLFIND) ocamlopt $(COMMON_OPTS) -thread
 OCAMLDEP = $(OCAMLFIND) ocamldep $(COMMON_OPTS)
+OCAMLDOC = ocamldoc
 
 DISTNAME = ocaml-http
 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 .depend tophttp doc