[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rm error messages with make distcheck
From: |
Alexandre Duret-Lutz |
Subject: |
Re: rm error messages with make distcheck |
Date: |
Thu, 03 Jun 2004 22:19:12 +0200 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
>>> "Nicolas" == Nicolas Joly <address@hidden> writes:
Nicolas> Hi,
Nicolas> I just noticed that CVS automake (like 1.8.x versions) generates some
Nicolas> error messages with `make distclean' target on my NetBSD -current i386
Nicolas> workstation.
Nicolas> The problem seems to be that `CONFIG_CLEAN_FILES' variable may be
Nicolas> empty, leading to `rm' error messages :
Thanks, I'm installing this.
2004-06-03 Alexandre Duret-Lutz <address@hidden>
* lib/am/clean.am (distclean-generic): Do no
`rm -f $(CONFIG_CLEAN_FILES)' if `$(CONFIG_CLEAN_FILES)' is empty.
Report from Nicolas Joly.
Index: lib/am/clean.am
===================================================================
RCS file: /cvs/automake/automake/lib/am/clean.am,v
retrieving revision 1.45
diff -u -r1.45 clean.am
--- lib/am/clean.am 29 Sep 2003 20:21:18 -0000 1.45
+++ lib/am/clean.am 3 Jun 2004 20:18:34 -0000
@@ -1,5 +1,5 @@
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996, 1998, 1999, 2001, 2003
+## Copyright (C) 1994, 1995, 1996, 1998, 1999, 2001, 2003, 2004
## Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
@@ -30,7 +30,7 @@
distclean-am: distclean-generic clean-am
distclean-generic:
- -rm -f $(CONFIG_CLEAN_FILES)
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
%DISTCLEAN_RMS%
## Makefiles and their dependencies cannot be cleaned by
--
Alexandre Duret-Lutz
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: rm error messages with make distcheck,
Alexandre Duret-Lutz <=