3 # Sample debian/rules that uses debhelper.
4 # This file was originally written by Joey Hess and Craig Small.
5 # As a special exception, when this file is copied by dh-make into a
6 # dh-make output file, you may use that output file without restriction.
7 # This special exception was added by Craig Small in version 0.37 of dh-make.
9 # Uncomment this to turn on verbose mode.
12 build: build-arch build-indep
13 build-arch: build-stamp
14 build-indep: build-stamp
19 # Add here commands to compile the package.
21 cd mbr && $(MAKE) && cd ..
29 # Add here commands to clean up after the build process.
31 cd mbr && $(MAKE) clean && cd ..
38 dh_installdirs usr/share/grml2usb/grub usr/share/grml2usb/mbr
40 # Add here commands to install the package into debian/grml2usb.
41 install -m 755 grml2usb debian/grml2usb/usr/sbin/grml2usb
42 install -m 755 grml2iso debian/grml2usb/usr/sbin/grml2iso
43 install -m 644 mbr/mbrmgr debian/grml2usb/usr/share/grml2usb/mbr/mbrmgr
44 install -m 644 mbr/mbrldr debian/grml2usb/usr/share/grml2usb/mbr/mbrldr
45 cp -a grub/ debian/grml2usb/usr/share/grml2usb/
47 # Build architecture-dependent files here.
48 binary-arch: build-arch install
49 # We have nothing to do by default.
51 # Build architecture-independent files here.
52 binary-indep: build-indep install
57 dh_installman grml2usb.8 grml2iso.8
67 binary: binary-indep binary-arch
68 .PHONY: build clean binary-indep binary-arch binary install