From 5343babeb4269c8d5d09b1e19ebd4dec020dd6cd Mon Sep 17 00:00:00 2001 From: Carlos Maddela Date: Thu, 5 Jan 2017 18:53:37 +1100 Subject: [PATCH] Fix generated man pages. The generated man pages incorrectly direct users to the directory of the old HTML documentation, which is no longer available. --- debian/patches/25-fix-man-pages.patch | 33 +++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 34 insertions(+) create mode 100644 debian/patches/25-fix-man-pages.patch diff --git a/debian/patches/25-fix-man-pages.patch b/debian/patches/25-fix-man-pages.patch new file mode 100644 index 0000000..46c4e65 --- /dev/null +++ b/debian/patches/25-fix-man-pages.patch @@ -0,0 +1,33 @@ +From: Carlos Maddela +Date: Thu, 5 Jan 2017 18:51:49 +1100 +Subject: Fix generated man pages. + +Description: Fix generated man pages. + The generated man pages incorrectly direct users to the directory of + the old HTML documentation, which is no longer available. +Author: Carlos Maddela +Origin: vendor +Forwarded: no +Last-Update: 2016-12-21 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- + GNUmakefile.template | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/GNUmakefile.template b/GNUmakefile.template +index d9bef11..d80932d 100644 +--- a/GNUmakefile.template ++++ b/GNUmakefile.template +@@ -232,9 +232,9 @@ install: dvdisaster + install -d $(BUILDROOT)$(MANDIR)/de/man1 + cd documentation; \ + ESCAPED_DOCSUBDIR=`echo $(DOCSUBDIR) | sed -e 's/\//\\\\\//g'`; \ +- sed "s/%docdir%/$$ESCAPED_DOCSUBDIR\/html/" dvdisaster.updated; \ ++ sed "s/%docdir%/$$ESCAPED_DOCSUBDIR/" dvdisaster.updated; \ + install -m 644 dvdisaster.updated $(BUILDROOT)$(MANDIR)/man1/dvdisaster.1; \ +- sed "s/%docdir%/$$ESCAPED_DOCSUBDIR\/html/" dvdisaster.updated; \ ++ sed "s/%docdir%/$$ESCAPED_DOCSUBDIR/" dvdisaster.updated; \ + install -m 644 dvdisaster.updated $(BUILDROOT)$(MANDIR)/de/man1/dvdisaster.1; \ + rm dvdisaster.updated + if echo $(WITH_OPTIONS) | grep "NLS_YES" >/dev/null; then \ diff --git a/debian/patches/series b/debian/patches/series index 59fd218..c471f8d 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -16,3 +16,4 @@ 22-fix-hurd-i386-ftbfs.patch 23-add-bdrom-support.patch 24-show-gpl3-license.patch +25-fix-man-pages.patch