X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=debian%2Frules;h=1be33ddf13f89e7597349e1cf35d32371198b635;hb=b1ae02d5ebac41caa82a344462a87e36a4f9f632;hp=01b49f85fb904b1a9499e20e5f00a1bdae54d250;hpb=cfd0cbc35a2f042d8de283e3c78c4baa7bc49454;p=grml2usb.git diff --git a/debian/rules b/debian/rules index 01b49f8..1be33dd 100755 --- a/debian/rules +++ b/debian/rules @@ -9,55 +9,56 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -configure-stamp: - dh_testdir - # Add here commands to configure the package. - - touch configure-stamp - - build: build-stamp -build-stamp: configure-stamp +build-stamp: dh_testdir # Add here commands to compile the package. - + $(MAKE) + cd mbr && $(MAKE) && cd .. touch build-stamp clean: dh_testdir dh_testroot - rm -f build-stamp configure-stamp + rm -f build-stamp # Add here commands to clean up after the build process. - - dh_clean + $(MAKE) clean + cd mbr && $(MAKE) clean && cd .. + dh_clean install: build dh_testdir dh_testroot - dh_clean -k - dh_installdirs + 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/ + # 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 +# We have nothing to do by default. # Build architecture-independent files here. binary-indep: build install -# We have nothing to do by default. - -# Build architecture-dependent files here. -binary-arch: 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