~ubuntu-branches/ubuntu/wily/man-db/wily-proposed

« back to all changes in this revision

Viewing changes to debian/patches/automake-compatibility.patch

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2013-06-24 11:34:02 UTC
  • mfrom: (1.2.13)
  • Revision ID: package-import@ubuntu.com-20130624113402-6xdn53l2p9qu8yus
Tags: 2.6.4-1
* New upstream release:
  - Document default section list in manual pages (closes: #611007).
  - Quieten most warnings from compiling Gnulib (closes: #668429).
  - The MANLESS environment variable is now treated as if it were a
    default value for the -r option to man: occurrences of the text
    "$MAN_PN" are expanded, and explicitly using the -r option overrides
    the default (closes: #690831).
* Use 'set -e' rather than '#! /bin/sh -e' in maintainer scripts.
* Remove maintainer script support for direct upgrades from pre-etch
  (three releases before current stable).
* Breaks/Replaces manpages-zh (<< 1.5.2-1.1); man-db now ships zh_CN
  translations formerly included there.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Description: Drop -Werror from AM_INIT_AUTOMAKE and handle parallel tests
2
 
 This avoids problems with the version of Gnulib used here causing warnings
3
 
 from Automake 1.13.  This patch can be dropped at the next upstream
4
 
 release.
5
 
Author: Colin Watson <cjwatson@debian.org>
6
 
Forwarded: not-needed
7
 
Last-Update: 2013-06-03
8
 
 
9
 
Index: b/configure.ac
10
 
===================================================================
11
 
--- a/configure.ac
12
 
+++ b/configure.ac
13
 
@@ -4,7 +4,7 @@
14
 
 # Initialise and check we're in the correct directory.
15
 
 AC_INIT([man-db], [2.6.3], [cjwatson@debian.org])
16
 
 AC_CONFIG_AUX_DIR([tools])
17
 
-AM_INIT_AUTOMAKE([1.10 -Wall -Wno-override -Werror foreign dist-xz no-dist-gzip])
18
 
+AM_INIT_AUTOMAKE([1.11 -Wall -Wno-override foreign dist-xz no-dist-gzip parallel-tests])
19
 
 AM_MAINTAINER_MODE
20
 
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
21
 
 AC_PREREQ([2.59])
22
 
Index: b/man/Rules.man
23
 
===================================================================
24
 
--- a/man/Rules.man
25
 
+++ b/man/Rules.man
26
 
@@ -25,7 +25,7 @@
27
 
 
28
 
 export top_builddir LINGUA EGREP
29
 
 if !CROSS_COMPILING
30
 
-TESTS_ENVIRONMENT = @SHELL@ $(top_srcdir)/man/check-man
31
 
+LOG_COMPILER = @SHELL@ $(top_srcdir)/man/check-man
32
 
 TESTS = $(man1_MANS) $(man5_MANS) $(man8_MANS)
33
 
 endif
34
 
 
35
 
Index: b/src/tests/Makefile.am
36
 
===================================================================
37
 
--- a/src/tests/Makefile.am
38
 
+++ b/src/tests/Makefile.am
39
 
@@ -18,9 +18,12 @@
40
 
 ## along with man-db; if not, write to the Free Software Foundation,
41
 
 ## Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
42
 
 
43
 
-TESTS_ENVIRONMENT = PATH=..:$$PATH DBTYPE=$(DBTYPE) \
44
 
-                   top_builddir=$(top_builddir) \
45
 
-                   @LOCALCHARSET_TESTS_ENVIRONMENT@ $(SHELL)
46
 
+TESTS_ENVIRONMENT = PATH=..:$$PATH; export PATH; \
47
 
+                   DBTYPE=$(DBTYPE); export DBTYPE; \
48
 
+                   top_builddir=$(top_builddir); export top_builddir; \
49
 
+                   @LOCALCHARSET_TESTS_ENVIRONMENT@; export CHARSETALIASDIR;
50
 
+# Each test must use the configure-detected shell, not necessarily /bin/sh.
51
 
+AM_LOG_FLAGS = $(SHELL)
52
 
 ALL_TESTS = \
53
 
        lexgrog-1 \
54
 
        man-1 man-2 man-3 \