dia r4243 - trunk



Author: hans
Date: Sat Jan 31 19:48:14 2009
New Revision: 4243
URL: http://svn.gnome.org/viewvc/dia?rev=4243&view=rev

Log:
2009-01-31  Hans Breuer  <hans breuer org>

	* omf.make : bug #306737 - installation fails in install-data-hook-omf
	if omffile variable is empty (patch from Thomas Harding)


Modified:
   trunk/ChangeLog
   trunk/omf.make

Modified: trunk/omf.make
==============================================================================
--- trunk/omf.make	(original)
+++ trunk/omf.make	Sat Jan 31 19:48:14 2009
@@ -35,7 +35,7 @@
 omf: omf_timestamp
 
 omf_timestamp: $(omffile)
-	-if test "$(omffile)"; then \
+	-if test -n "$(omffile)"; then \
 	  for file in $(omffile); do \
 	    scrollkeeper-preinstall $(DESTDIR)$(helpdocdir)/$(docname).xml $(srcdir)/$$file $$file.out; \
 	  done; \
@@ -44,7 +44,7 @@
 
 install-data-hook-omf:
 	$(mkinstalldirs) $(omf_dest_dir)
-	if test "$(omffile)"; then \
+	-if test -n "$(omffile)"; then \
 	  for file in $(omffile); do \
 	    $(INSTALL_DATA) $$file.out $(omf_dest_dir)/$$file; \
 	  done; \
@@ -60,7 +60,7 @@
 	-scrollkeeper-update -p $(scrollkeeper_localstate_dir)
 
 clean-local-omf:
-	-if test "$(omffile)"; then \
+	-if test -n "$(omffile)"; then \
 	  for file in $(omffile); do \
 	    rm -f $$file.out; \
 	  done; \



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