Update of /cvsroot/mahogany/M/src
In directory sc8-pr-cvs1:/tmp/cvs-serv7510/src
Modified Files:
Makefile
Log Message:
fix make install when not using swig
Index: Makefile
===================================================================
RCS file: /cvsroot/mahogany/M/src/Makefile,v
retrieving revision 1.100
retrieving revision 1.101
diff -b -u -2 -r1.100 -r1.101
--- Makefile 12 Jan 2004 23:44:07 -0000 1.100
+++ Makefile 18 Jan 2004 00:31:41 -0000 1.101
@@ -155,12 +155,20 @@
ifdef USE_PYTHON
$(INSTALL) -d $(DATADIR)/python
+ifdef SWIG
+ # install the swig-generated files
for i in Python/*.py; \
do $(INSTALL_DATA) $$i $(DATADIR)/python; \
done
+else # !SWIG
+ # install the precompiled files stripping their -swig extension
+ for i in Python/.src/*.py-swig; \
+ do $(INSTALL_DATA) $$i $(DATADIR)/python/`basename $$i -swig`; \
+ done
+endif # SWIG/!SWIG
$(INSTALL) -d $(DATADIR)/scripts
for i in Python/.src/Scripts/*.py; \
do $(INSTALL_DATA) $$i $(DATADIR)/scripts; \
done
-endif
+endif # USE_PYTHON
# invoked from locale to build message catalog
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates