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.
17 # Add here commands to compile the package.
19 cd mbr && $(MAKE) && cd ..
27 # Add here commands to clean up after the build process.
29 cd mbr && $(MAKE) clean && cd ..
36 dh_installdirs usr/share/grml2usb/lilo usr/share/grml2usb/grub usr/share/grml2usb/mbr
38 # Add here commands to install the package into debian/grml2usb.
39 install -m 755 grml2usb debian/grml2usb/usr/sbin/grml2usb
40 install -m 755 grml2iso debian/grml2usb/usr/sbin/grml2iso
41 install -m 644 mbr/mbrmgr debian/grml2usb/usr/share/grml2usb/mbr/mbrmgr
42 install -m 644 mbr/mbrldr debian/grml2usb/usr/share/grml2usb/mbr/mbrldr
43 cp -a lilo/ debian/grml2usb/usr/share/grml2usb/
44 cp -a grub/ debian/grml2usb/usr/share/grml2usb/
46 # Build architecture-dependent files here.
47 binary-arch: build install
48 # We have nothing to do by default.
50 # Build architecture-independent files here.
51 binary-indep: build install
56 dh_installman grml2usb.8 grml2iso.8
60 mkdir -p debian/grml2usb/usr/share/lintian/overrides/
61 cp -av debian/overrides debian/grml2usb/usr/share/lintian/overrides/grml2usb
69 binary: binary-indep binary-arch
70 .PHONY: build clean binary-indep binary-arch binary install