[gthumb] Fixed generation of gthumb.h



commit 512102b378d6177f7916228c644cdbf9a99ee63b
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Wed Aug 22 13:18:05 2012 +0200

    Fixed generation of gthumb.h
    
    use 'mv' instead of 'cmp || cp' as explained in commit
    e15ad6cac0bb91b3d9b4ee51f1fb37917a6423f1

 gthumb/Makefile.am |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gthumb/Makefile.am b/gthumb/Makefile.am
index 14f00e8..40ecc4a 100644
--- a/gthumb/Makefile.am
+++ b/gthumb/Makefile.am
@@ -350,8 +350,7 @@ gth-marshal.c: gth-marshal.h gth-marshal.list $(GLIB_GENMARSHAL)
 
 gthumb.h: make-header.sh gthumb.h.template Makefile.am
 	$(AM_V_GEN)( $(srcdir)/make-header.sh $(srcdir)/gthumb.h.template  $(PUBLIC_HEADER_FILES) > xgen-$(@F) \
-	&& (cmp -s xgen-$(@F) gthumb.h || cp xgen-$(@F) gthumb.h ) \
-	&& rm -f xgen-$(@F) )
+	&& mv -f xgen-$(@F) gthumb.h )
 
 AUTHORS.tab : $(top_srcdir)/AUTHORS
 	$(AM_V_GEN)( sed -e 's/^/"/' -e 's/$$/",/' < $(top_srcdir)/AUTHORS > $  tmp \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]