summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Makerules.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 22b2108..951a8ee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-02-05 Thomas Schwinge <tschwinge@gnu.org>
+
+ * Makerules.in: Don't set no_deps to true if MAKECMDGOALS is empty.
+
2006-02-03 Thomas Schwinge <tschwinge@gnu.org>
* Makerules.in: Set no_deps to true if we don't need the dependency
diff --git a/Makerules.in b/Makerules.in
index b0dfc35..376b91e 100644
--- a/Makerules.in
+++ b/Makerules.in
@@ -104,7 +104,7 @@ ASFLAGS += -DASSEMBLER
#
# Don't build and include dependency files if they're not needed.
-ifeq ($(strip $(filter-out %clean, $(MAKECMDGOALS))),)
+ifneq ($(strip $(filter %clean, $(MAKECMDGOALS))),)
no_deps = t
endif