check-doc: Ignore with-aix-soname in check-cmdline-options-doc.sh
commit67e9e7e554bb7af7076bc39d1f922c57f7b1759c
authorDoug Torrance <dtorrance@piedmont.edu>
Tue, 9 Feb 2016 16:52:05 +0000 (9 11:52 -0500)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 9 Feb 2016 17:51:42 +0000 (9 23:21 +0530)
tree4ef5a32de97fa8621a3b77291500aec8dd40e9fe
parent4f18b3e1f47a0bcc6dca59195889bc257d91f8af
check-doc: Ignore with-aix-soname in check-cmdline-options-doc.sh

Control: tags -1 forwarded wmaker-dev@lists.windowmaker.org

libtool 2.4.4 will add a --with-aix-soname option.  Ignore it when checking
whether INSTALL-WMAKER is up to date.

Fixes Debian bug #814213 [1].  Proposed fix to Debian package at [2].

   From: Chris Lamb <lamby@debian.org>
   Subject: wmaker: FTBFS: Error: program option '--with-aix-soname' is not in
     the documentation './INSTALL-WMAKER'
   Date: Tue, 09 Feb 2016 09:59:14 +0100

   Dear Maintainer,

   wmaker fails to build from source in unstable/amd64:

     [..]

     make  check-local
     make[4]: Entering directory '/home/lamby/temp/
       cdt.20160209093619.fGSQWYa4PE/wmaker-0.95.7'
     ./script/check-cmdline-options-doc.sh \
      --program "./configure" --text-doc "./INSTALL-WMAKER" \
      --ignore-prg 'with-PACKAGE,without-PACKAGE # only template names from
  Autoconf' \
      --ignore-prg 'program-prefix,program-suffix,program-transform-name
  # in INSTALL' \
      --ignore-prg 'version,quiet,srcdir,build,host,cache-file,no-create
  # in INSTALL' \
      --ignore-prg 'enable-silent-rules,disable-silent-rules # should be in
  INSTALL' \
      --ignore-prg 'enable-dependency-tracking,disable-dependency-tracking
  # in INSTALL' \
      --ignore-prg 'enable-shared,enable-static # should be in INSTALL' \
      --ignore-prg 'disable-option-checking,enable-fast-install # should be
  in INSTALL' \
      --ignore-prg 'disable-libtool-lock,with-pic,with-gnu-ld,with-sysroot
  # for libtool' \
      --ignore-prg 'runstatedir #new in autoconf 2.70, backported in Debian' \
      --ignore-prg 'with-x # no use, it would not work without X'
     Error: program option '--with-aix-soname' is not in the documentation
       './INSTALL-WMAKER'
     Makefile:951: recipe for target 'configure-documentation' failed
     make[4]: *** [configure-documentation] Error 1

     [..]

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=814213
[2] http://anonscm.debian.org/cgit/pkg-wmaker/wmaker.git/commit/?id=dd955a7
Makefile.am