# be a directory contained in a PYTHONPATH directory.
TARGETDIR=..
+# Set this to 1 for make to pre-compile the Python modules, 0 to
+# just copy the sources and let Python compile them at the first
+# runtime.
+COMPILEPY=0
#----------------------------------------------------------------------
pycfiles : $(PYMODULES)
+!if "$(COMPILEPY)" == "1"
$(PYTHONDIR)\python $(PYTHONDIR)\Lib\compileall.py -l $(TARGETDIR)
$(PYTHONDIR)\python -O $(PYTHONDIR)\Lib\compileall.py -l $(TARGETDIR)
+!endif
#----------------------------------------------------------------------
#------------------------------------------------------------------------
#
# $Log$
+# Revision 1.2 1998/08/14 03:34:23 RD
+# made pre-compiling the python files optional
+#
# Revision 1.1 1998/08/09 08:25:51 RD
# Initial version
#