Avoid needless error.

This commit is contained in:
Bruno Haible 2002-03-07 15:22:10 +00:00
parent 2b3a701733
commit 02174aa790
2 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,9 @@
2002-03-07 Bruno Haible <bruno@clisp.org>
* Makefile.am (MAKEINFO): New variable.
* missing (makeinfo): Don't call touch without arguments if the source
texinfo file doesn't contain a @setfilename command.
Reported by Miroslaw Dobrzanski-Neumann <mne@mosaic-ag.com>.
2002-02-15 Bruno Haible <bruno@clisp.org>

View File

@ -226,7 +226,9 @@ WARNING: \`$1' is missing on your system. You should only need it if
file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
fi
touch $file
if test -n "$file"; then
touch $file
fi
;;
tar)