Makefile.am

branch
soc.2013.gobjectification.plugins
changeset 37155
1aee6d5eefba
parent 37144
8b63b9948107
parent 36132
3d96648efd41
child 37158
96b5ab42da00
--- a/Makefile.am	Wed Jun 18 00:51:08 2014 +0530
+++ b/Makefile.am	Fri Jun 27 01:07:11 2014 +0530
@@ -118,7 +118,7 @@
 	(hg --cwd $(srcdir) id -i --debug) 2>/dev/null >$@.new \
 	|| rm -f $@.new
 	$(AM_V_at)if test -f $@.new; then \
-		if ! diff $@ $@.new > /dev/null; then \
+		if ! test -f "$@" || ! diff "$@" "$@".new > /dev/null ; then \
 			mv $@.new $@; \
 		else \
 			rm $@.new; \

mercurial