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.
11 destdir=debian/depview/var/www/depview
15 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
20 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
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/depview.sgml > depview.1
45 rm -f build-stamp configure-stamp
47 # Add here commands to clean up after the build process.
57 # Add here commands to install the package into debian/depview.
58 cp index.php file.php list.php depview.css $(destdir)
59 cp include/header.inc.php include/footer.inc.php $(destdir)/include
61 # Build architecture-independent files here.
62 binary-indep: build install
73 dh_installchangelogs ChangeLog
85 .PHONY: build clean binary-indep binary install configure