]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Provide a better error message.
authorBruno Haible <bruno@clisp.org>
Sat, 1 Sep 2007 09:03:21 +0000 (09:03 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:15:02 +0000 (12:15 +0200)
gettext-tools/misc/ChangeLog
gettext-tools/misc/Makefile.am

index 138861e823267baa725499a2c7d94cf95ac772b5..9f7140c8f6875328ff752f0545d98a60c1856718 100644 (file)
@@ -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
index f41952bd1053ce2b95ce5d7deeafd5df71567b20..5c06b05aadcef31bb675e571f1c49663f2049e49 100644 (file)
@@ -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.