gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/plugin Makefile.am


From: Rob Savoye
Subject: [Gnash-commit] gnash/plugin Makefile.am
Date: Thu, 09 Feb 2006 19:49:14 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Branch:         
Changes by:     Rob Savoye <address@hidden>     06/02/09 19:49:14

Modified files:
        plugin         : Makefile.am 

Log message:
        Use libtool to install the plugin.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gnash/plugin/Makefile.am.diff?tr1=1.10&tr2=1.11&r1=text&r2=text

Patches:
Index: gnash/plugin/Makefile.am
diff -u gnash/plugin/Makefile.am:1.10 gnash/plugin/Makefile.am:1.11
--- gnash/plugin/Makefile.am:1.10       Sun Feb  5 01:10:58 2006
+++ gnash/plugin/Makefile.am    Thu Feb  9 19:49:14 2006
@@ -86,8 +86,10 @@
 # installed in the users $(HOME)/.firefox.plugins, the plugin
 # won't load due to errors with an undefined MaiAtkObject.
 install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES)
-       test -d "$(plugindir)"
-       cp .libs/libgnashplugin.so $(DESTDIR)$(plugindir)/libgnashplugin.so
+       test -z "$(plugindir)" || $(mkdir_p) "$(DESTDIR)$(plugindir)"
+#      cp .libs/libgnashplugin.so $(DESTDIR)$(plugindir)/libgnashplugin.so
+       $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) 
$(plugin_LTLIBRARIES) "$(DESTDIR)$(plugindir)/$(plugin_LTLIBRARIES)"
+       $(RM) $(DESTDIR)$(plugindir)/libgnashplugin.*a
 
 # install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES)
 #      if test -d $(HOME)/.firefox ; then \
@@ -99,4 +101,4 @@
 #      fi
 
 uninstall-pluginLTLIBRARIES: $(plugin_LTLIBRARIES)
-       rm -f $(DESTDIR)$(plugindir)/libgnashplugin.so
\ No newline at end of file
+       -rm -f $(DESTDIR)$(plugindir)/libgnashplugin.so
\ No newline at end of file




reply via email to

[Prev in Thread] Current Thread [Next in Thread]