--- /dev/null
+all: build
+
+build:
+ xmltoman man/update-grml-rescueboot.xml > man/update-grml-rescueboot.8
+
+install:
+ mkdir -p $(DESTDIR)/etc/grub.d $(DESTDIR)/usr/share/doc/grml-rescueboot/ $(DESTDIR)/etc/default $(DESTDIR)/usr/sbin/
+ install -m 755 42_grml $(DESTDIR)/etc/grub.d/
+ install -m 644 debian/README $(DESTDIR)/usr/share/doc/grml-rescueboot/
+ install -m 644 etc/default/grml-rescueboot $(DESTDIR)/etc/default/grml-rescueboot
+ install -m 755 update-grml-rescueboot $(DESTDIR)/usr/sbin/
+
+clean:
+ rm -f man/update-grml-rescueboot.en.8
-man/update-grml-rescueboot.en.8
+man/update-grml-rescueboot.8
+++ /dev/null
-42_grml etc/grub.d/
-debian/README usr/share/doc/grml-rescueboot/
-etc/default etc/
-update-grml-rescueboot usr/sbin/
%:
dh $@
+
+#drwxr-xr-x root/root 0 2017-01-24 21:42 ./boot/grml/
+#-rw-r--r-- root/root 271 2014-08-31 19:30 ./etc/default/grml-rescueboot
+#-rwxr-xr-x root/root 3280 2015-06-19 09:21 ./etc/grub.d/42_grml
+#-rwxr-xr-x root/root 4346 2017-01-24 21:42 ./usr/sbin/update-grml-rescueboot
+#-rw-r--r-- root/root 1290 2014-08-31 19:30 ./usr/share/doc/grml-rescueboot/README
+#-rw-r--r-- root/root 1880 2017-01-24 21:42 ./usr/share/doc/grml-rescueboot/changelog.gz
+#-rw-r--r-- root/root 1315 2017-01-24 21:42 ./usr/share/doc/grml-rescueboot/copyright
+#-rw-r--r-- root/root 114 2014-08-31 19:30 ./usr/share/lintian/overrides/grml-rescueboot
+#-rw-r--r-- root/root 959 2017-01-24 21:42 ./usr/share/man/en/man8/update-grml-rescueboot.8.gz
--- /dev/null
+.TH update-grml-rescueboot 8 User Manuals
+.SH NAME
+update-grml-rescueboot \- Script to integrate Grml ISO for booting via GRUB
+.SH SYNOPSIS
+\fBupdate-grml-rescueboot [-f] [-a \fI32|64|96\fB] [-t \fIsmall|full\fB]
+\f1
+.SH DESCRIPTION
+grml-rescueboot integrates Grml ISO booting into GRUB. It provides a script for update-grub which looks for Grml ISO images in \fI/boot/grml\f1, and automatically adds an entry for each image. The purpose is to use one of those images to boot a Grml rescue system without using a CD, USB stick or network boot (PXE). \fIupdate-grml-rescueboot\f1 is a script which checks for the latest stable version of Grml (via download.grml.org), ensures there's enough free disk space in \fI/boot/grml\f1 and downloads the ISO to \fI/boot/grml\f1. It verifies the ISO signature and upon success executes update-grub then. Everything should be ready for booting a Grml ISO via GRUB then. This script makes integration of a Grml ISO into GRUB via grml-rescueboot even easier. All that needs to be done is install grml-rescueboot and invoke update-grml-rescueboot afterwards. Using the \fI-a\f1 and \fI-t\f1 options it's possible to use specific Grml ISOs. If none of those options is specific it defaults to the grml-full flavour, matching the currently running hardware architecture (i?86 or x86_64).
+.SH OPTIONS
+.TP
+\fB-a \fIarg\fB\f1
+Choose Grml architecture, specified via \fIarg\f1. Supported flavours are '32', '64' and '96'. If unset defaults to the currently running architecture.
+.TP
+\fB-f\f1
+Force execution, ignoring, e.g. existing ISO files and disk space checks for \fI/boot/grml\f1.
+.TP
+\fB-h\f1
+Display usage information and exit script.
+.TP
+\fB-t \fIarg\fB\f1
+Choose Grml flavour, specified via \fIarg\f1. Supported flavours are 'small' and 'full'. If unset defaults to 'full'.
+.SH AUTHOR
+update-grml-rescueboot was written by Michael Prokop, based on a script by Felipe Sateler.
+.SH BUGS
+Please report them towards Debian's BTS, see https://bugs.debian.org/grml-rescueboot.