X-Git-Url: http://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=debian%2Frules;h=2b987f7546c9ea01ae1baa6098948f9c31987bc7;hp=3b6a2d0d53853e35cc79fda697cdb21f4b9bc5ed;hb=fc369c3e6d5b633fcbce134caeefcda78e359d91;hpb=0b7e7606d03618626d51e31652521307c8267720 diff --git a/debian/rules b/debian/rules index 3b6a2d0..2b987f7 100755 --- a/debian/rules +++ b/debian/rules @@ -15,6 +15,7 @@ build-stamp: dh_testdir # Add here commands to compile the package. + $(MAKE) touch build-stamp clean: @@ -23,31 +24,38 @@ clean: rm -f build-stamp # Add here commands to clean up after the build process. - dh_clean + $(MAKE) clean + dh_clean install: build dh_testdir dh_testroot - dh_clean -k - dh_installdirs + dh_clean -k + dh_installdirs usr/share/grml2usb/lilo usr/share/grml2usb/grub # Add here commands to install the package into debian/grml2usb. - install -m 755 grml2usb debian/grml2usb/usr/sbin/ - -# Build architecture-independent files here. -binary-indep: build install -# We have nothing to do by default. + install -m 755 grml2usb debian/grml2usb/usr/sbin/grml2usb + install -m 755 lilo/lilo.static.i386 debian/grml2usb//usr/share/grml2usb/lilo/lilo.static.i386 + install -m 755 lilo/lilo.static.amd64 debian/grml2usb//usr/share/grml2usb/lilo/lilo.static.amd64 + install -m 644 grub/splash.xpm.gz debian/grml2usb/usr/share/grml2usb/grub/splash.xpm.gz + install -m 644 grub/stage2_eltorito debian/grml2usb/usr/share/grml2usb/grub/stage2_eltorito # 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_installchangelogs dh_installdocs dh_installman grml2usb.8 dh_link dh_strip dh_compress + mkdir -p debian/grml2usb/usr/share/lintian/overrides/ + cp -av debian/overrides debian/grml2usb/usr/share/lintian/overrides/grml2usb dh_fixperms dh_installdeb dh_shlibdeps