2 DISTVERSION = $(shell dpkg-parsechangelog | egrep '^Version: ' | sed 's/^Version: //')
5 REQUIRES = unix pcre netstring
6 COMMON_FLAGS = $(DEBUG_FLAGS) -pp camlp4o -package "$(REQUIRES)"
7 THREADS_FLAGS = -package threads -thread
9 OCAMLC = $(OCAMLFIND) ocamlc $(COMMON_FLAGS)
10 OCAMLOPT = $(OCAMLFIND) ocamlopt $(COMMON_FLAGS)
11 OCAMLDEP = $(OCAMLFIND) ocamldep $(COMMON_FLAGS)
12 OCAMLDOC := ocamldoc -I $(shell $(OCAMLFIND) query netstring)
15 DISTDIR = $(DISTNAME)-$(DISTVERSION)
17 INSTALL LICENSE README META.in Makefile Makefile.defs Makefile.overrides \