3 # Sample debian/rules that uses debhelper.
4 # This file was originally written by Joey Hess and Craig Small.
5 # As a special exception, when this file is copied by dh-make into a
6 # dh-make output file, you may use that output file without restriction.
7 # This special exception was added by Craig Small in version 0.37 of dh-make.
9 # Uncomment this to turn on verbose mode.
18 # Add here commands to compile the package.
24 rm -f build-stamp html-stamp man-stamp
26 # Add here commands to clean up after the build process.
34 dh_installdirs etc/X11 usr/bin usr/share/grml
36 # Add here commands to install the package into debian/grml-x.
37 install -m 755 grml-x debian/grml-x/usr/bin/grml-x
38 install -m 755 grml-x-legacy debian/grml-x/usr/bin/grml-x-legacy
39 cp -a etc/X11/* debian/grml-x/etc/X11/
40 cp -a usr_share_grml/zsh/ debian/grml-x/usr/share/grml/
42 # Build architecture-dependent files here.
43 binary-arch: build install
44 # We have nothing to do by default.
46 # Build architecture-independent files here.
47 binary-indep: build install
53 dh_installman grml-x.1
54 dh_installman grml-x-legacy.1
65 binary: binary-indep binary-arch
66 .PHONY: build clean binary-indep binary-arch binary install