[gnome-desktop] lib: Remove use of gvfs-copy in autogen.sh



commit fdb7a78134f77d80879dd255d33c0644f9c1430b
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Oct 24 17:20:32 2012 +0200

    lib: Remove use of gvfs-copy in autogen.sh
    
    https://bugzilla.gnome.org/show_bug.cgi?id=686792

 autogen.sh                   |    7 -------
 libgnome-desktop/Makefile.am |    3 +++
 2 files changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 7d10064..f4fcbd8 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -20,13 +20,6 @@ which gnome-autogen.sh || {
     exit 1
 }
 
-if test "`which gvfs-copy`" != ""; then
-	gvfs-copy "http://git.fedorahosted.org/git/?p=hwdata.git;a=blob_plain;f=pnp.ids;hb=HEAD"; libgnome-desktop/pnp.ids
-fi
-if test ! -f libgnome-desktop/pnp.ids; then
-	touch libgnome-desktop/pnp.ids
-fi
-
 # Fetch submodules if needed
 if test ! -f libgnome-desktop/libgsystem/README; then
   echo "+ Setting up submodules"
diff --git a/libgnome-desktop/Makefile.am b/libgnome-desktop/Makefile.am
index 5ac9812..f4c68cf 100644
--- a/libgnome-desktop/Makefile.am
+++ b/libgnome-desktop/Makefile.am
@@ -81,6 +81,9 @@ pnpdata_DATA = pnp.ids
 endif
 pnpdata_DATA_dist = pnp.ids
 
+update-pnp-ids:
+	wget -O $(top_srcdir)/libgnome-desktop/pnp.ids "http://git.fedorahosted.org/git/?p=hwdata.git;a=blob_plain;f=pnp.ids;hb=HEAD";
+
 check:
 	test -s $(top_srcdir)/libgnome-desktop/pnp.ids
 



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