]> matita.cs.unibo.it Git - helm.git/blob - helm/DEVEL/ocaml-http/Makefile.defs
parse DISTVERSION from debian/changelog
[helm.git] / helm / DEVEL / ocaml-http / Makefile.defs
1 PKGNAME = http
2 DISTVERSION = $(shell dpkg-parsechangelog | egrep '^Version: ' | sed 's/^Version: //')
3
4 DEBUG_OPTS =
5 REQUIRES = unix pcre netstring threads
6 COMMON_OPTS = $(DEBUG_OPTS) -pp camlp4o -package "$(REQUIRES)"
7 OCAMLFIND = ocamlfind
8 OCAMLC = $(OCAMLFIND) ocamlc $(COMMON_OPTS) -thread
9 OCAMLOPT = $(OCAMLFIND) ocamlopt $(COMMON_OPTS) -thread
10 OCAMLDEP = $(OCAMLFIND) ocamldep $(COMMON_OPTS)
11 OCAMLDOC = ocamldoc
12
13 DISTNAME = ocaml-http
14 DISTDIR = $(DISTNAME)-$(DISTVERSION)
15 EXTRA_DIST =    \
16         INSTALL LICENSE README META.in Makefile Makefile.defs .depend tophttp doc
17
18