[gvfs] Call gio-querymodules only when DESTDIR is not set



commit f7634738ef201deefec1148ef98ee94b6456633c
Author: Christian Kellner <gicmo gnome org>
Date:   Mon Feb 15 12:37:32 2010 +0100

    Call gio-querymodules only when DESTDIR is not set
    
    This is a bug introduced in a18a1896c0bceaf9a467f00a9678e322d615e786.
    We want to call gio-querymodules on install, except when building a
    package.
    Based on a patch from Vincent Untz <vuntz gnome org>. Fixes #609927.

 Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 4dde338..95d0654 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -33,8 +33,8 @@ distclean-local:
 	fi
 
 install-data-hook:
-	if test ! -z "$(DESTDIR)" -a "$(GIO_QUERYMODULES)" != "no" ; then					\
-		$(GIO_QUERYMODULES) $(DESTDIR)$(giomodulesdir) ;	\
+	if test -z "$(DESTDIR)" -a "$(GIO_QUERYMODULES)" != "no" ; then					\
+		$(GIO_QUERYMODULES) $(giomodulesdir) ;	\
 	fi
 
 uninstall-local:



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