sed scripts, as Posix says it's not portable.
* lib/missing (file): Likewise.
* lib/am/distdir.am (distcheck): Likewise.
* tests/comment7.test, tests/comment9.test, tests/confh.test: Likewise
* tests/distcom2.test, tests/distcom3.test: Likewise.
* tests/distcom4.test, tests/distcom5.test: Likewise.
* tests/distcom6.test, tests/include.test, tests/pluseq8.test: Likewise.
+2006-01-12 Paul Eggert <eggert@cs.ucla.edu>
+
+ * lib/install-sh (dstdir): Don't use semicolons inside { } in
+ sed scripts, as Posix says it's not portable.
+ * lib/missing (file): Likewise.
+ * lib/am/distdir.am (distcheck): Likewise.
+ * tests/comment7.test, tests/comment9.test, tests/confh.test: Likewise
+ * tests/distcom2.test, tests/distcom3.test: Likewise.
+ * tests/distcom4.test, tests/distcom5.test: Likewise.
+ * tests/distcom6.test, tests/include.test, tests/pluseq8.test: Likewise.
+
2006-01-12 Alexandre Duret-Lutz <adl@gnu.org>
* ChangeLog: Move 2004's entries to ...
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005 Free Software Foundation, Inc.
+# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
ChangeLog.01 \
ChangeLog.02 \
ChangeLog.03 \
+ ChangeLog.04 \
$(AUTOMAKESOURCES)
do_subst = sed \
$(am__remove_distdir)
@(echo "$(distdir) archives ready for distribution: "; \
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
- sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
distuninstallcheck:
@cd $(distuninstallcheck_dir) \
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+## Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software
+## Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
$(am__remove_distdir)
@(echo "$(distdir) archives ready for distribution: "; \
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
- sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
## Define distuninstallcheck_listfiles and distuninstallcheck separately
## from distcheck, so that they can be overridden by the user.
#!/bin/sh
# install - install a program, script, or datafile
-scriptversion=2005-11-07.23
+scriptversion=2006-01-12.21
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
X"$dst" : 'X\(/\)' \| \
. : '\(.\)' 2>/dev/null ||
echo X"$dst" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
- /^X\(\/\/\)$/{ s//\1/; q; }
- /^X\(\/\).*/{ s//\1/; q; }
- s/.*/./; q'
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'
`
test -d "$dstdir"
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
-scriptversion=2005-06-08.21
+scriptversion=2006-01-12.21
-# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
+# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
# Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
if test -z "$file"; then
# ... or it is the one specified with @setfilename ...
infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
- file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile`
+ file=`sed -n '
+ /^@setfilename/{
+ s/.* \([^ ]*\) *$/\1/
+ p
+ q
+ }' $infile`
# ... or it is derived from the source name (dir/f.texi becomes f.info)
test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
fi
#! /bin/sh
-# Copyright (C) 2002 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2006 Free Software Foundation, Inc.
#
# This file is part of GNU Automake.
#
test `grep '@COND_FALSE@VAR' Makefile.in | wc -l` = 1
# Make sure the right definition follows each comment.
-sed -n '/^#.*VAR.*COND_TRUE/ { n; p; }' Makefile.in |
+sed -n '/^#.*VAR.*COND_TRUE/ {
+ n
+ p
+ }' Makefile.in |
grep '@COND_TRUE@VAR = foo'
-sed -n '/^#.*VAR.*COND_FALSE/ { n; p; }' Makefile.in |
+sed -n '/^#.*VAR.*COND_FALSE/ {
+ n
+ p
+ }' Makefile.in |
grep '@COND_FALSE@VAR = bar'
#! /bin/sh
-# Copyright (C) 2005 Free Software Foundation, Inc.
+# Copyright (C) 2005, 2006 Free Software Foundation, Inc.
#
# This file is part of GNU Automake.
#
:loop
p
n
- /\\$/ b loop
+ t clear
+ :clear
+ s/\\$/\\/
+ t loop
p
n
}' -e '/^TESTS =/ p' Makefile.in > tests
#! /bin/sh
-# Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+# Copyright (C) 1999, 2000, 2001, 2002, 2006 Free Software Foundation, Inc.
#
# This file is part of GNU Automake.
#
:loop
p
n
- /\\$/ b loop
+ t clear
+ :clear
+ s/\\$/\\/
+ t loop
p
n
}' -e '/^DIST_COMMON =/ p' Makefile.in | grep acconfig.h) || exit 1
#! /bin/sh
-# Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2004, 2006 Free Software Foundation, Inc.
#
# This file is part of GNU Automake.
#
:loop
p
n
- /\\$/ b loop
+ t clear
+ :clear
+ s/\\$/\\/
+ t loop
p
n
}' -e '/^DIST_COMMON =/ p' Makefile.in | grep compile || exit 1
:loop
p
n
- /\\$/ b loop
+ t clear
+ :clear
+ s/\\$/\\/
+ t loop
p
n
}' -e '/^DIST_COMMON =/ p' Makefile.in | grep depcomp || exit 1
#! /bin/sh
-# Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2003, 2004, 2006 Free Software Foundation, Inc.
#
# This file is part of GNU Automake.
#
:loop
p
n
- /\\$/ b loop
+ t clear
+ :clear
+ s/\\$/\\/
+ t loop
p
n
}' -e '/^DIST_COMMON =/ p' Makefile.in | grep README
#! /bin/sh
-# Copyright (C) 2003 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2006 Free Software Foundation, Inc.
#
# This file is part of GNU Automake.
#
:loop
p
n
- /\\$/ b loop
+ t clear
+ :clear
+ s/\\$/\\/
+ t loop
p
n
}' -e '/^DIST_COMMON =/ p' Makefile.in > dc.txt
#! /bin/sh
-# Copyright (C) 2003 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2006 Free Software Foundation, Inc.
#
# This file is part of GNU Automake.
#
:loop
p
n
- /\\$/ b loop
+ t clear
+ :clear
+ s/\\$/\\/
+ t loop
p
n
}' -e '/^DIST_COMMON =/ p' Makefile.in > top.txt
:loop
p
n
- /\\$/ b loop
+ t clear
+ :clear
+ s/\\$/\\/
+ t loop
p
n
}' -e '/^DIST_COMMON =/ p' tests/Makefile.in > inner.txt
#! /bin/sh
-# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2004, 2006 Free Software Foundation, Inc.
#
# This file is part of GNU Automake.
#
:loop
p
n
- /\\$/ b loop
+ t clear
+ :clear
+ s/\\$/\\/
+ t loop
p
n
}' -e '/^DIST_COMMON =/ p' Makefile.in | grep compile
:loop
p
n
- /\\$/ b loop
+ t clear
+ :clear
+ s/\\$/\\/
+ t loop
p
n
}' -e '/^DIST_COMMON =/ p' Makefile.in | grep depcomp
#! /bin/sh
-# Copyright (C) 1999, 2001, 2002, 2005 Free Software Foundation, Inc.
+# Copyright (C) 1999, 2001, 2002, 2005, 2006 Free Software Foundation, Inc.
#
# This file is part of GNU Automake.
#
:loop
p
n
- /\\$/ b loop
+ t clear
+ :clear
+ s/\\$/\\/
+ t loop
p
n
}' -e '/^DIST_COMMON =/ p' Makefile.in | grep foo)
#! /bin/sh
-# Copyright (C) 1999, 2001, 2002, 2004 Free Software Foundation, Inc.
+# Copyright (C) 1999, 2001, 2002, 2004, 2006 Free Software Foundation, Inc.
#
# This file is part of GNU Automake.
#
:loop
p
n
- /\\$/ b loop
+ t clear
+ :clear
+ s/\\$/\\/
+ t loop
p
n
}' Makefile.in | grep three