X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Frules;h=c3e0d946bf2a0f35ea8894b53734c90e9960f477;hb=7d83169dbc49d498d0f5ea58bd1f32150428b884;hp=c65fea048f15d81a1a107d2b7c357501955f487c;hpb=ae7d2eaecc1da99f0aad38e2ed6101744f4c0b68;p=grml2usb.git diff --git a/debian/rules b/debian/rules index c65fea0..c3e0d94 100755 --- a/debian/rules +++ b/debian/rules @@ -9,12 +9,16 @@ # 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 # Add here commands to compile the package. + $(MAKE) + cd mbr && $(MAKE) && cd .. touch build-stamp clean: @@ -23,29 +27,34 @@ clean: 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_prep + dh_installdirs usr/share/grml2usb/grub usr/share/grml2usb/mbr # Add here commands to install the package into debian/grml2usb. - install -m 755 grml2usb debian/grml2usb/usr/sbin/ + install -m 755 grml2usb debian/grml2usb/usr/sbin/grml2usb + install -m 755 grml2iso debian/grml2usb/usr/sbin/grml2iso + install -m 644 mbr/mbrmgr debian/grml2usb/usr/share/grml2usb/mbr/mbrmgr + install -m 644 mbr/mbrldr debian/grml2usb/usr/share/grml2usb/mbr/mbrldr + cp -a grub/ debian/grml2usb/usr/share/grml2usb/ # Build architecture-dependent files here. -binary-arch: build install +binary-arch: build-arch install # We have nothing to do by default. # Build architecture-independent files here. -binary-indep: build install +binary-indep: build-indep install dh_testdir dh_testroot - dh_installchangelogs - dh_installdocs - dh_installman grml2usb.8 - dh_link + dh_installchangelogs + dh_installdocs TODO + dh_installman grml2usb.8 grml2iso.8 dh_strip dh_compress dh_fixperms