[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Silence error if globals.h doesn't exist
From: |
Giuseppe Scrivano |
Subject: |
[PATCH] Silence error if globals.h doesn't exist |
Date: |
Fri, 30 Jan 2015 17:14:44 +0100 |
a trivial fix, introduced by commit "d703a4dce564ede122f5c307889e4bd0e3f3e75c"
Just "run make clean && make" to see the error while building.
Regards,
Giuseppe
>From 04619422fd84beb5abf63f3a990aaba38937b889 Mon Sep 17 00:00:00 2001
From: Giuseppe Scrivano <address@hidden>
Date: Fri, 30 Jan 2015 17:09:37 +0100
Subject: [PATCH] Silence error if globals.h doesn't exist
---
src/ChangeLog | 4 ++++
src/Makefile.in | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/ChangeLog b/src/ChangeLog
index 2130312..735ebb2 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2015-01-30 Giuseppe Scrivano <address@hidden>
+
+ * Makefile.in (globals.h): Redirect 'cmp' stderr to /dev/null.
+
2015-01-30 Eli Zaretskii <address@hidden>
* dired.c (read_dirent): Accept an additional argument
diff --git a/src/Makefile.in b/src/Makefile.in
index 2ac34f5..cd661fb 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -498,7 +498,7 @@ gl-stamp: $(libsrc)/make-docfile$(EXEEXT) $(GLOBAL_SOURCES)
$(AM_V_GEN)$(libsrc)/make-docfile -d $(srcdir) -g $(obj) >$@
globals.h: gl-stamp
- $(AM_V_GEN)cmp $< $@ >/dev/null || cp $< $@
+ $(AM_V_GEN)cmp $< $@ >/dev/null 2>&1 || cp $< $@
$(ALLOBJS): globals.h
--
2.1.0
- [PATCH] Silence error if globals.h doesn't exist,
Giuseppe Scrivano <=