X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=debian%2Frules;h=1be33ddf13f89e7597349e1cf35d32371198b635;hb=b1ae02d5ebac41caa82a344462a87e36a4f9f632;hp=b32058d2f4afa0838b3f050fa7ca3e8149cededd;hpb=70b40a204d7940f5a43043f6d32c9f2f99b1dc87;p=grml2usb.git diff --git a/debian/rules b/debian/rules index b32058d..1be33dd 100755 --- a/debian/rules +++ b/debian/rules @@ -16,6 +16,7 @@ build-stamp: # Add here commands to compile the package. $(MAKE) + cd mbr && $(MAKE) && cd .. touch build-stamp clean: @@ -25,19 +26,22 @@ clean: # Add here commands to clean up after the build process. $(MAKE) clean - dh_clean + cd mbr && $(MAKE) clean && cd .. + dh_clean install: build dh_testdir dh_testroot - dh_clean -k - dh_installdirs usr/share/grml2usb/lilo usr/share/grml2usb/grub + dh_clean -k + dh_installdirs usr/share/grml2usb-compat/lilo usr/share/grml2usb-compat/grub usr/share/grml2usb-compat/mbr - # Add here commands to install the package into debian/grml2usb. - install -m 755 grml2usb debian/grml2usb/usr/sbin/ - install -m 755 lilo/lilo.static debian/grml2usb/usr/share/grml2usb/lilo/lilo.static - 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 + # Add here commands to install the package into debian/grml2usb-compat. + install -m 755 grml2usb-compat debian/grml2usb-compat/usr/sbin/grml2usb-compat + install -m 755 grml2iso-compat debian/grml2usb-compat/usr/sbin/grml2iso-compat + install -m 644 mbr/mbrmgr debian/grml2usb-compat/usr/share/grml2usb-compat/mbr/mbrmgr + install -m 644 mbr/mbrldr debian/grml2usb-compat/usr/share/grml2usb-compat/mbr/mbrldr + cp -a lilo/ debian/grml2usb-compat/usr/share/grml2usb-compat/ + cp -a grub/ debian/grml2usb-compat/usr/share/grml2usb-compat/ # Build architecture-dependent files here. binary-arch: build install @@ -47,12 +51,14 @@ binary-arch: build install binary-indep: build install dh_testdir dh_testroot - dh_installchangelogs - dh_installdocs - dh_installman grml2usb.8 + dh_installchangelogs + dh_installdocs TODO + dh_installman grml2usb-compat.8 grml2iso-compat.8 dh_link dh_strip dh_compress + mkdir -p debian/grml2usb-compat/usr/share/lintian/overrides/ + cp -av debian/overrides debian/grml2usb-compat/usr/share/lintian/overrides/grml2usb-compat dh_fixperms dh_installdeb dh_shlibdeps