3 # Sample debian/rules that uses debhelper.
4 # GNU copyright 1997 to 1999 by Joey Hess.
6 # Uncomment this to turn on verbose mode.
9 configure: configure-stamp
15 build-stamp: configure-stamp
18 if [ -x /usr/bin/ocamlopt ]; then \
19 $(MAKE) BUILD_OPT=1; \
21 $(MAKE) BUILD_OPT=0; \
28 rm -f build-stamp configure-stamp
39 $(MAKE) install DESTDIR=$(CURDIR)/debian/libperl-ocaml
41 # Move the remaining development files across.
42 dh_movefiles -plibperl-ocaml-dev --sourcedir=debian/libperl-ocaml
44 # Build architecture-independent files here.
45 binary-indep: build install
46 # We have nothing to do by default.
48 # Build architecture-dependent files here.
49 binary-arch: build install
67 # dh_strip # XXX fails - why?
79 binary: binary-indep binary-arch
80 .PHONY: build clean binary-indep binary-arch binary install configure