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 # This is the debhelper compatibility version to use.
12 prefix := debian/$(pkg)
15 INSTALLFLAGS := -g root -o root -m 0644
16 INSTALLDIRFLAGS := -d -g root -o root -m 0755
18 SOURCEDIR := $(prefix)/usr/share/common-lisp/source
19 REPOSITORYDIR := $(prefix)/usr/share/common-lisp/repositories/uffi
20 SYSDIR := $(prefix)/usr/share/common-lisp/systems
21 DOCDIR := $(prefix)/usr/share/doc/cl-uffi
24 configure: configure-stamp
27 # Add here commands to configure the package.
34 build-stamp: configure-stamp
37 # Add here commands to compile the package.
39 #/usr/bin/docbook-to-man debian/uffi.sgml > uffi.1
46 rm -f build-stamp configure-stamp
48 # Add here commands to clean up after the build process.
50 rm -f debian/cl-uffi.postinst.* debian/cl-uffi.prerm.*
60 # Add here commands to install the package into debian/ctsim.
62 # Build architecture-independent files here.
63 binary-indep: build install
67 # Build architecture-dependent files here.
68 binary-arch: build install
73 dh_installexamples examples/*.cl
84 dh_installchangelogs ChangeLog
97 binary: binary-indep binary-arch
98 .PHONY: build clean binary-indep binary-arch binary install configure