[Freeswitch-svn] [commit] r10255 - in freeswitch/trunk/src/mod/languages/mod_managed: . managed

Freeswitch SVN stkn at freeswitch.org
Wed Nov 5 13:08:05 EST 2008


Author: stkn
Date: Wed Nov  5 13:08:04 2008
New Revision: 10255

Modified:
   freeswitch/trunk/src/mod/languages/mod_managed/Makefile
   freeswitch/trunk/src/mod/languages/mod_managed/managed/Makefile

Log:
Fix mod_managed staged install

Modified: freeswitch/trunk/src/mod/languages/mod_managed/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_managed/Makefile	(original)
+++ freeswitch/trunk/src/mod/languages/mod_managed/Makefile	Wed Nov  5 13:08:04 2008
@@ -20,8 +20,8 @@
 local_depend:
 	cd managed && $(MAKE)
 
-local_install: $(MODINSTDIR)/mod_managed.so 
-	cd managed && $(MAKE) INSTALL="$(LTINSTALL)" MODINSTDIR=$(MODINSTDIR) install
+local_install: $(DESTDIR)$(MODINSTDIR)/mod_managed.so 
+	cd managed && $(MAKE) INSTALL="$(LTINSTALL)" MODINSTDIR=$(MODINSTDIR) DESTDIR=$(DESTDIR) install
 
 local_uninstall:
 	rm -fr $(MODINSTDIR)/mod_managed.so

Modified: freeswitch/trunk/src/mod/languages/mod_managed/managed/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_managed/managed/Makefile	(original)
+++ freeswitch/trunk/src/mod/languages/mod_managed/managed/Makefile	Wed Nov  5 13:08:04 2008
@@ -7,7 +7,7 @@
 	gmcs -target:library -out:mod_managed_lib.dll -d:DEBUG Loader.cs ManagedSession.cs ApiFunction.cs AppFunction.cs Extensions.cs Log.cs Demo.cs swig.cs
 
 install: mod_managed_lib.dll
-	$(INSTALL) mod_managed_lib.dll $(MODINSTDIR)
+	$(INSTALL) mod_managed_lib.dll $(DESTDIR)$(MODINSTDIR)
 
 uninstall:
 	$(UNINSTALL) $(MODINSTDIR)/mod_managed_lib.dll



More information about the Freeswitch-svn mailing list