2 DISTVERSION = $(shell dpkg-parsechangelog | egrep '^Version: ' | sed 's/^Version: //')
5 REQUIRES = unix pcre netstring threads
6 COMMON_OPTS = $(DEBUG_OPTS) -pp camlp4o -package "$(REQUIRES)"
8 OCAMLC = $(OCAMLFIND) ocamlc $(COMMON_OPTS) -thread
9 OCAMLOPT = $(OCAMLFIND) ocamlopt $(COMMON_OPTS) -thread
10 OCAMLDEP = $(OCAMLFIND) ocamldep $(COMMON_OPTS)
14 DISTDIR = $(DISTNAME)-$(DISTVERSION)
16 INSTALL LICENSE README META.in Makefile Makefile.defs .depend tophttp doc