[gnome-icon-theme/new-build-system] Only copy the SVGOUTDIR if srcdir != builddir



commit 179c4bb472539af33abcff16311d083336828f2b
Author: Rodney Dawes <dobey gnome org>
Date:   Fri Jan 8 15:51:30 2010 -0500

    Only copy the SVGOUTDIR if srcdir != builddir

 src/Makefile.am |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 2dd5749..378a2d8 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -12,7 +12,9 @@ render-png: $(icon_in_files) Makefile
 
 else
 render-png: $(icon_in_files) Makefile
-	cp -a $(top_srcdir)/$(SVGOUTDIR) $(top_builddir)/$(SVGOUTDIR)
+	if "x$(top_srcdir)" != "x$(top_builddir)"; then \
+		cp -a $(top_srcdir)/$(SVGOUTDIR) $(top_builddir)/$(SVGOUTDIR); \
+	fi
 
 endif
 



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