diff options
Diffstat (limited to 'debian/patches/unneeded_doc.patch')
-rw-r--r-- | debian/patches/unneeded_doc.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/debian/patches/unneeded_doc.patch b/debian/patches/unneeded_doc.patch new file mode 100644 index 0000000..39f5fa5 --- /dev/null +++ b/debian/patches/unneeded_doc.patch @@ -0,0 +1,41 @@ +From: Markus Koschany <apo@gambaru.de> +Date: Sun, 30 Jun 2013 19:29:40 +0200 +Subject: unneeded_doc + +Avoid generating some docs we don't want. +Do not generate some documentation we do not want; do not include +sane.png in the html documentation, as it is not distributed in the +source tarball. + +Original Author: Julien BLACHE <jblache@debian.org> +--- + Makefile.in | 6 +----- + doc/Makefile.in | 2 +- + 2 files changed, 2 insertions(+), 6 deletions(-) + +--- a/Makefile.in ++++ b/Makefile.in +@@ -398,11 +398,7 @@ + top_srcdir = @top_srcdir@ + SUBDIRS = include lib sanei backend frontend tools doc po testsuite + DIST_SUBDIRS = include lib sanei backend frontend tools doc po japi testsuite +-dist_doc_DATA = AUTHORS ChangeLog COPYING LICENSE NEWS PROBLEMS PROJECTS \ +- README README.aix README.beos README.darwin README.djpeg README.freebsd \ +- README.hp-ux README.linux README.netbsd README.openbsd README.os2 \ +- README.solaris README.unixware2 README.unixware7 README.windows \ +- README.zeta ++dist_doc_DATA = README AUTHORS NEWS PROBLEMS PROJECTS + + EXTRA_DIST = ChangeLog-1.0.0 ChangeLog-1.0.1 ChangeLog-1.0.2 \ + ChangeLog-1.0.3 ChangeLog-1.0.4 ChangeLog-1.0.5 ChangeLog-1.0.6 \ +--- a/doc/Makefile.in ++++ b/doc/Makefile.in +@@ -410,7 +410,7 @@ + MAN2HTML = nroff -c -man |\ + man2html -compress -topm 6 -botm 6 -nodepage -title $${page} \ + -cgiurl '$$title.$$section.html'|\ +- sed 's,<BODY>,<BODY BGCOLOR=\#FFFFFF TEXT=\#000000><H1 ALIGN=CENTER><IMG SRC="/images/sane.png" HEIGHT=117 WIDTH=346></H1>,' ++ sed 's,<BODY>,<BODY BGCOLOR=\#FFFFFF TEXT=\#000000></H1>,' + + beman5dir = $(mandir)/man5 + BEDOCS = canon/canon.changes canon/canon.install2700F.txt \ |