[goffice] Compilation: fight shell/make interactions



commit 817d4b156db0d9df54c0e4ea7a1f7e021fb1c55c
Author: Morten Welinder <terra gnome org>
Date:   Tue Feb 14 15:01:57 2012 -0500

    Compilation: fight shell/make interactions

 goffice.mk |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/goffice.mk b/goffice.mk
index bbb9fb2..946d572 100644
--- a/goffice.mk
+++ b/goffice.mk
@@ -19,7 +19,8 @@ list_of_sources:
 		echo $$i | grep '\.[ch]$$' >> $  tmp; \
 	done
 	test -z "${SUBDIRS}" || for s in ${SUBDIRS}; do \
-		test -e $$s/list_of_sources && \
-		perl -pe "s{^}{$$s/}" $$s/list_of_sources >> $  tmp; \
+		if test -e $$s/list_of_sources ; then \
+			perl -pe "s{^}{$$s/}" $$s/list_of_sources >> $  tmp; \
+		fi; \
 	done
 	mv $  tmp $@



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