[Spice-devel] [spice-xpi 1/3] build: Adjust plugin name when building xpi

Christophe Fergeau cfergeau at redhat.com
Wed Apr 17 04:28:13 PDT 2013


The plugin binary name was changed from libnsISpice to npSpiceConsole,
but the Makefile.am rule optionnally building SpiceXpi.xpi was not
changed to take this rename into account.
---
 SpiceXPI/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/SpiceXPI/Makefile.am b/SpiceXPI/Makefile.am
index de058b5..a12135a 100644
--- a/SpiceXPI/Makefile.am
+++ b/SpiceXPI/Makefile.am
@@ -9,12 +9,12 @@ all-local: SpiceXPI.xpi
 
 CLEANFILES = SpiceXPI.xpi
 
-SpiceXPI.xpi: $(srcdir)/src/install.rdf src/plugin/nsISpicec.xpt src/plugin/.libs/libnsISpicec.so
+SpiceXPI.xpi: $(srcdir)/src/install.rdf src/plugin/nsISpicec.xpt src/plugin/.libs/npSpiceConsole.so
 	$(AM_V_GEN)rm -rf $(DISTDIR)
 	@[ -d $(DISTDIR)/plugins ] || mkdir -p $(DISTDIR)/plugins
 	@cp $(srcdir)/src/install.rdf $(DISTDIR)
 	@cp src/plugin/*.xpt $(DISTDIR)/plugins
-	@cp src/plugin/.libs/libnsISpicec.so $(DISTDIR)/plugins/nsISpicec.so
+	@cp src/plugin/.libs/npSpiceConsole.so $(DISTDIR)/plugins/npSpiceConsole.so
 	@(cd $(DISTDIR); zip -q -r ../$@ .)
 
 distclean-local:
-- 
1.8.1.4



More information about the Spice-devel mailing list