summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-09-01 09:03:21 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:15:02 +0200
commit9349c1f79da04abc7fba870217c5506a81d6f274 (patch)
tree1164bd54fcf69c82516462e70a7de530a4f03d50
parentd0f3e2341c5b21afdc05991601a8e2defdbda4c7 (diff)
downloadexternal_gettext-9349c1f79da04abc7fba870217c5506a81d6f274.zip
external_gettext-9349c1f79da04abc7fba870217c5506a81d6f274.tar.gz
external_gettext-9349c1f79da04abc7fba870217c5506a81d6f274.tar.bz2
Provide a better error message.
-rw-r--r--gettext-tools/misc/ChangeLog6
-rw-r--r--gettext-tools/misc/Makefile.am10
2 files changed, 13 insertions, 3 deletions
diff --git a/gettext-tools/misc/ChangeLog b/gettext-tools/misc/ChangeLog
index 138861e..9f7140c 100644
--- a/gettext-tools/misc/ChangeLog
+++ b/gettext-tools/misc/ChangeLog
@@ -1,3 +1,9 @@
+2007-09-01 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (archive.tar.gz): Provide an explicit error message if
+ archive.tar.gz cannot be found.
+ Reported by Spiros at <https://savannah.gnu.org/bugs/?16657>.
+
2007-06-30 Bruno Haible <bruno@clisp.org>
* autopoint.in (func_version): Use the standard --version output, see
diff --git a/gettext-tools/misc/Makefile.am b/gettext-tools/misc/Makefile.am
index f41952b..5c06b05 100644
--- a/gettext-tools/misc/Makefile.am
+++ b/gettext-tools/misc/Makefile.am
@@ -1,5 +1,5 @@
## Makefile for the gettext-tools/misc subdirectory of GNU gettext
-## Copyright (C) 1995-1997, 2000-2003, 2005-2006 Free Software Foundation, Inc.
+## Copyright (C) 1995-1997, 2000-2003, 2005-2007 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
@@ -36,8 +36,12 @@ gettextsrc_DATA = archive.tar.gz
# The archive.tar.gz is not in the CVS. Alpha-testers must use the one from an
# already installed release.
archive.tar.gz:
- cp -p $(gettextsrcdir)/archive.tar.gz $@
-
+ if test -f $(gettextsrcdir)/archive.tar.gz; then \
+ cp -p $(gettextsrcdir)/archive.tar.gz $@; \
+ else \
+ echo "archive.tar.gz is not in the CVS. Please copy the archive.tar.gz from an already installed release to gettext-tools/misc/." 1>&2; \
+ exit 1; \
+ fi
# Emacs Lisp code.