X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=debian%2Frules;h=2356986490aeeb2dd33054d11550aadb4873b653;hp=61191f9348cb28f3ab8472e12c47d81404fbc11f;hb=56a04d7e76fe8b4ed4fe5f87ba8cdaf412912a73;hpb=98007e393a49f71587ab827ed51a0d101bfa2346 diff --git a/debian/rules b/debian/rules index 61191f9..2356986 100755 --- a/debian/rules +++ b/debian/rules @@ -9,10 +9,15 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -build: build-stamp +build: build-arch build-indep + +build-arch: build-stamp + +build-indep: build-stamp build-stamp: dh_testdir + (cd tests && ./run_tests.sh) make touch $@ @@ -21,32 +26,36 @@ clean: dh_testroot rm -f build-stamp make clean - dh_clean + dh_clean install: build dh_testdir dh_testroot - dh_clean -k - dh_installdirs etc/debootstrap usr/sbin # etc/zsh/completion.d + dh_clean -k + dh_installdirs etc/debootstrap usr/sbin etc/debootstrap/extrapackages etc/zsh/completion.d \ + usr/share/grml-debootstrap/functions # Add here commands to install the package into debian/grml-debootstrap. install -m 644 config debian/grml-debootstrap/etc/debootstrap/ + install -m 644 devices.tar.gz debian/grml-debootstrap/etc/debootstrap/ install -m 644 locale.gen debian/grml-debootstrap/etc/debootstrap/ install -m 644 packages debian/grml-debootstrap/etc/debootstrap/ install -m 755 chroot-script debian/grml-debootstrap/etc/debootstrap/ install -m 755 grml-debootstrap debian/grml-debootstrap/usr/sbin/ - # install -m 644 zsh-completion debian/grml-debootstrap/etc/zsh/completion.d/grml-debootstrap - -# Build architecture-independent files here. -binary-indep: build install -# We have nothing to do by default. + install -m 644 zsh-completion debian/grml-debootstrap/etc/zsh/completion.d/_grml-debootstrap + install -m 644 cmdlineopts.clp debian/grml-debootstrap/usr/share/grml-debootstrap/functions/cmdlineopts.clp + install -m 755 bootgrub.mksh debian/grml-debootstrap/usr/share/grml-debootstrap/bootgrub.mksh # Build architecture-dependent files here. binary-arch: build install +# We have nothing to do by default. + +# Build architecture-independent files here. +binary-indep: build install dh_testdir dh_testroot - dh_installchangelogs - dh_installdocs TODO + dh_installchangelogs + dh_installdocs TODO THANKS dh_installman grml-debootstrap.8 dh_link dh_strip