X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1afc06c2d8c945535175bf32e427aac0bbb704de..85bc0351f76f6d3f00460a167fc108b900e0725c:/utils/wxPython/src/build.cfg?ds=sidebyside diff --git a/utils/wxPython/src/build.cfg b/utils/wxPython/src/build.cfg index 1e4d482c66..27710ddeb3 100644 --- a/utils/wxPython/src/build.cfg +++ b/utils/wxPython/src/build.cfg @@ -5,10 +5,10 @@ MODULE = 'wxc' SWIGFILES = ['wx.i', 'windows.i', 'windows2.i', 'windows3.i', 'events.i', 'misc.i', 'misc2.i', 'gdi.i', 'mdi.i', 'controls.i', 'controls2.i', 'cmndlgs.i', 'stattool.i', 'frames.i', - 'image.i', 'printfw.i', + 'image.i', 'printfw.i', 'sizers.i', 'clip_dnd.i' ] -PYFILES = ['__init__.py'] +PYFILES = ['__init__.py', '__version__.py'] SWIGDEPS = '_defs.i my_typemaps.i' OTHERDEPS = 'helpers.h' @@ -21,6 +21,18 @@ if sys.platform == 'win32': dist: cd ..\.. wxPython\distrib\zipit.bat $(VERSION) + +dbg: + cd ..\distrib + makedbg.bat $(VERSION) + +dev: + cd ..\distrib + makedev.bat $(VERSION) + +__version__.py: ../distrib/build.py build.cfg + echo ver = '$(VERSION)' > __version__.py + """ else: @@ -51,15 +63,20 @@ installLibDemo: @if [ "$(TARGETDIR)" != ".." -a "$(TARGETDIR)" != "$(WXWIN)/utils/wxPython" ]; then \\ mkdir $(TARGETDIR)/lib; \\ mkdir $(TARGETDIR)/lib/sizers; \\ + mkdir $(TARGETDIR)/lib/editor; \\ mkdir $(TARGETDIR)/demo; \\ mkdir $(TARGETDIR)/demo/bitmaps; \\ + mkdir $(TARGETDIR)/demo/data; \\ cp ../lib/*.py $(TARGETDIR)/lib; \\ cp ../lib/sizers/*.py $(TARGETDIR)/lib/sizers; \\ + cp ../lib/editor/*.py $(TARGETDIR)/lib/editor; \\ cp ../demo/*.py $(TARGETDIR)/demo; \\ cp ../lib/*.txt $(TARGETDIR)/lib; \\ cp ../lib/sizers/*.txt $(TARGETDIR)/lib/sizers; \\ + cp ../lib/editor/*.txt $(TARGETDIR)/lib/editor; \\ cp ../demo/*.txt $(TARGETDIR)/demo; \\ - cp ../demo/bitmaps/[a-z]* $(TARGETDIR)/demo/bitmaps; \\ + cp ../demo/bitmaps/* $(TARGETDIR)/demo/bitmaps; \\ + cp ../demo/data/* $(TARGETDIR)/demo/data; \\ $(EXECPREFIX)/bin/python $(PYLIB)/compileall.py $(TARGETDIR); \\ $(EXECPREFIX)/bin/python -O $(PYLIB)/compileall.py $(TARGETDIR); \\ fi @@ -77,6 +94,10 @@ uninstallHelpers: rm -f $(HELPERLIBDIR)/lib$(HELPERLIB)$(SO) +__version__.py: ../distrib/build.py build.cfg + echo ver = \\'$(VERSION)\\' > __version__.py + + #---------------------------------------------------------------------- dist: tgz rpm @@ -95,3 +116,8 @@ rpm: +OTHERRULES = OTHERRULES + """ + +$(GENCODEDIR)/wx.py : _extras.py + +"""