[Freeswitch-svn] [commit] r6392 - freeswitch/trunk/src/mod/languages/mod_python

Freeswitch SVN mikej at freeswitch.org
Fri Nov 23 20:59:58 EST 2007


Author: mikej
Date: Fri Nov 23 20:59:58 2007
New Revision: 6392

Modified:
   freeswitch/trunk/src/mod/languages/mod_python/Makefile

Log:
error on missing dir on fresh build (thanks trixter)

Modified: freeswitch/trunk/src/mod/languages/mod_python/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_python/Makefile	(original)
+++ freeswitch/trunk/src/mod/languages/mod_python/Makefile	Fri Nov 23 20:59:58 2007
@@ -26,5 +26,6 @@
 	$(CC)  -w $(CFLAGS) -c $< -o $@
 
 local_install:
+	test -d $(DESTDIR)$(PREFIX)/lib/python2.5/site-packages/ || mkdir -p $(DESTDIR)$(PREFIX)/lib/python2.5/site-packages/
 	cp -f freeswitch.py $(DESTDIR)$(PREFIX)/lib/python2.5/site-packages/
 



More information about the Freeswitch-svn mailing list