diff options
author | Alexandre Duret-Lutz <adl@gnu.org> | 2005-06-08 19:41:26 +0000 |
---|---|---|
committer | Alexandre Duret-Lutz <adl@gnu.org> | 2005-06-08 19:41:26 +0000 |
commit | aac860350a31d3650ad9272b168d70ca6bcf7d9e (patch) | |
tree | f8f73a036a20ebdeeed595dd529a73c2cd7295f3 /lib/missing | |
parent | a515a314e99b6c3e50315a97b455c3943fbf2430 (diff) | |
download | automake-aac860350a31d3650ad9272b168d70ca6bcf7d9e.tar.gz |
* lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
Do not backup any file if makeinfo is not installed.
* lib/missing (makeinfo): Do not touch a missing info file.
* tests/txinfo30.test: New file.
* tests/Makefile.am (TESTS): Add txinfo30.test.
Report from Bob Proulx.
Diffstat (limited to 'lib/missing')
-rwxr-xr-x | lib/missing | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/missing b/lib/missing index 4228a2046..894e786e1 100755 --- a/lib/missing +++ b/lib/missing @@ -1,7 +1,7 @@ #! /bin/sh # Common stub for a few missing GNU programs while installing. -scriptversion=2005-05-14.22 +scriptversion=2005-06-08.21 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. @@ -297,6 +297,9 @@ WARNING: \`$1' is $msg. You should only need it if # ... 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 + # If the file does not exist, the user really needs makeinfo; + # let's fail without touching anything. + test -f $file || exit 1 touch $file ;; |