[telepathy-salut/master] Don't touch signals-marshal.list if it's already up to date

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Thu May 28 09:26:38 PDT 2009


By touching it, every source file using salut's marshallers is rebuilt whenever you
change any other source file, because Make always thinks the signals-marshal.h has changed.
---
 src/Makefile.am |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 8d5d5f3..4e58b4f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -181,7 +181,6 @@ salut-signals-marshal.list: $(CORE_SOURCES) $(AVAHI_BACKEND_SOURCES) $(DUMMY_BAC
 	| sed -e 's/__/:/' -e 'y/_/,/' | sort -u > $@.tmp
 	if cmp -s $@.tmp $@; then \
 		rm $@.tmp; \
-		touch $@; \
 	else \
 		mv $@.tmp $@; \
 	fi
-- 
1.5.6.5




More information about the telepathy-commits mailing list