Update changelog for release 0.9.19.
[grml2usb.git] / debian / rules
index b32058d..ff3d808 100755 (executable)
@@ -16,6 +16,7 @@ build-stamp:
 
        # Add here commands to compile the package.
        $(MAKE)
 
        # Add here commands to compile the package.
        $(MAKE)
+       cd mbr && $(MAKE) && cd ..
        touch build-stamp
 
 clean:
        touch build-stamp
 
 clean:
@@ -25,19 +26,23 @@ clean:
 
        # Add here commands to clean up after the build process.
        $(MAKE) 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
 
 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/lilo usr/share/grml2usb/grub usr/share/grml2usb/mbr
 
        # Add here commands to install the package into debian/grml2usb.
 
        # 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
+       install -m 755 grml2usb               debian/grml2usb/usr/sbin/grml2usb
+       install -m 755 grml2usb-compat        debian/grml2usb/usr/sbin/grml2usb-compat
+       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          lilo/                  debian/grml2usb/usr/share/grml2usb/
+       cp -a          grub/                  debian/grml2usb/usr/share/grml2usb/
 
 # Build architecture-dependent files here.
 binary-arch: build install
 
 # Build architecture-dependent files here.
 binary-arch: build install
@@ -47,12 +52,14 @@ binary-arch: build install
 binary-indep: build install
        dh_testdir
        dh_testroot
 binary-indep: build 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_link /usr/share/man/man8/grml2usb.8 /usr/share/man/man8/grml2usb-compat.8
        dh_strip
        dh_compress
        dh_strip
        dh_compress
+       mkdir -p debian/grml2usb/usr/share/lintian/overrides/
+       cp -av debian/overrides debian/grml2usb/usr/share/lintian/overrides/grml2usb
        dh_fixperms
        dh_installdeb
        dh_shlibdeps
        dh_fixperms
        dh_installdeb
        dh_shlibdeps