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.
12 build: build-arch build-indep
14 build-arch: build-stamp
16 build-indep: build-stamp
20 (cd tests && ./run_tests.sh)
35 dh_installdirs etc/debootstrap usr/sbin etc/debootstrap/extrapackages etc/zsh/completion.d \
36 usr/share/grml-debootstrap/functions
38 # Add here commands to install the package into debian/grml-debootstrap.
39 install -m 644 config debian/grml-debootstrap/etc/debootstrap/
40 install -m 644 devices.tar.gz debian/grml-debootstrap/etc/debootstrap/
41 install -m 644 locale.gen debian/grml-debootstrap/etc/debootstrap/
42 install -m 644 packages debian/grml-debootstrap/etc/debootstrap/
43 install -m 755 chroot-script debian/grml-debootstrap/etc/debootstrap/
44 install -m 755 grml-debootstrap debian/grml-debootstrap/usr/sbin/
45 install -m 644 zsh-completion debian/grml-debootstrap/etc/zsh/completion.d/_grml-debootstrap
46 install -m 644 cmdlineopts.clp debian/grml-debootstrap/usr/share/grml-debootstrap/functions/cmdlineopts.clp
47 install -m 755 bootgrub.mksh debian/grml-debootstrap/usr/share/grml-debootstrap/bootgrub.mksh
49 # Build architecture-dependent files here.
50 binary-arch: build install
51 # We have nothing to do by default.
53 # Build architecture-independent files here.
54 binary-indep: build install
58 dh_installdocs TODO THANKS
59 dh_installman grml-debootstrap.8
70 binary: binary-indep binary-arch
71 .PHONY: build clean binary-indep binary-arch binary install