2 # Sample debian/rules that uses debhelper.
3 # GNU copyright 1997 to 1999 by Joey Hess.
5 # Uncomment this to turn on verbose mode.
8 TARGETDIR = debian/libgdome2-xslt-ocaml-dev
9 SHARED_LIB_PKG = libgdome2-xslt0
11 configure: configure-stamp
14 ./configure --prefix=/usr
18 build-stamp: configure-stamp
26 rm -f build-stamp configure-stamp
35 $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
36 dh_install --sourcedir=debian/tmp
38 binary-arch: build install
45 dh_installchangelogs -s
50 dh_makeshlibs -p $(SHARED_LIB_PKG)
58 .PHONY: build clean binary-arch binary install configure