From ef25d374bd54cc53ed034241edc140b8ac8f3420 Mon Sep 17 00:00:00 2001 From: Joachim Wiedorn Date: Sun, 15 Apr 2012 13:23:15 +0200 Subject: [PATCH] Include html documentation into package lilo-doc --- debian/README.Debian | 4 ++-- debian/changelog | 3 ++- debian/lilo-doc.doc-base | 5 +++-- debian/lilo-doc.docs | 3 +-- debian/rules | 11 +++++++++++ 5 files changed, 19 insertions(+), 7 deletions(-) diff --git a/debian/README.Debian b/debian/README.Debian index 5bc7e11..9ae005f 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -81,8 +81,8 @@ is not failsafe! The following very old documentation can be found in lilo-doc package: - - user.pdf - - tech.pdf + - html/user_21-5.html + - html/tech_21-5.html - INCOMPAT - README - README.disk diff --git a/debian/changelog b/debian/changelog index 5c337bf..6f91e63 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,8 +4,9 @@ lilo (1:23.2-4) unstable; urgency=low * Disable creating pdf documentation. (Closes: #666320) * Remove build dependency to texlive-latex-base. * Use (patched) upstream scripts directly. + * Add html documentation as replacement for pdf files. - -- Joachim Wiedorn Sat, 14 Apr 2012 22:56:42 +0200 + -- Joachim Wiedorn Sun, 15 Apr 2012 12:16:49 +0200 lilo (1:23.2-3) unstable; urgency=low diff --git a/debian/lilo-doc.doc-base b/debian/lilo-doc.doc-base index 02c3043..8acaf02 100644 --- a/debian/lilo-doc.doc-base +++ b/debian/lilo-doc.doc-base @@ -8,5 +8,6 @@ Section: System/Administration Format: Text Files: /usr/share/doc/lilo-doc/README* -Format: PDF -Files: /usr/share/doc/lilo-doc/*.pdf.gz +Format: html +Index: /usr/share/doc/lilo-doc/html/user_21-5.html +Files: /usr/share/doc/lilo-doc/html/user*.html diff --git a/debian/lilo-doc.docs b/debian/lilo-doc.docs index bc5d4d8..a25c157 100644 --- a/debian/lilo-doc.docs +++ b/debian/lilo-doc.docs @@ -1,5 +1,4 @@ -doc/user.pdf -doc/tech.pdf +debian/html readme/INCOMPAT readme/README readme/README.disk diff --git a/debian/rules b/debian/rules index 3eaf127..92f0dc5 100755 --- a/debian/rules +++ b/debian/rules @@ -9,3 +9,14 @@ %: dh $@ + +override_dh_auto_build: + dh_auto_build + @echo "Extract html documentation (tech.html, user.html)" + uudecode -o /dev/stdout debian/doc/tech.html.uu 2>/dev/null | tar -x -z -C debian + uudecode -o /dev/stdout debian/doc/user.html.uu 2>/dev/null | tar -x -z -C debian + +override_dh_auto_clean: + rm -rf debian/html + dh_auto_clean + -- 2.39.2