summaryrefslogtreecommitdiff
path: root/debian/patches/0010-unneeded_doc.patch
blob: f24378e25bf46d1e117a61e25e7bda47c6a697f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
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(-)

Index: trunk/Makefile.in
===================================================================
--- trunk.orig/Makefile.in
+++ trunk/Makefile.in
@@ -402,11 +402,7 @@ top_builddir = @top_builddir@
 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 \
Index: trunk/doc/Makefile.in
===================================================================
--- trunk.orig/doc/Makefile.in
+++ trunk/doc/Makefile.in
@@ -414,7 +414,7 @@ DLH = TEXINPUTS="$(srcdir):$$TEXINPUTS"
 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 \
Index: trunk/Makefile.am
===================================================================
--- trunk.orig/Makefile.am
+++ trunk/Makefile.am
@@ -7,11 +7,7 @@
 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 \
  ChangeLog-1.0.7 ChangeLog-1.0.8 ChangeLog-1.0.9 ChangeLog-1.0.10 \
Index: trunk/doc/Makefile.am
===================================================================
--- trunk.orig/doc/Makefile.am
+++ trunk/doc/Makefile.am
@@ -101,8 +101,7 @@ DLH	= TEXINPUTS="$(srcdir):$$TEXINPUTS"
 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>,'
 %.1 %.5 %.7 %.8: %.man
 	@echo "Generating manpage $@...";
 	@sed -e 's|@DATADIR@|$(datadir)|g' \