- -mkdir $(DISTDIR)/utils
- mkdir $(DISTDIR)/utils/tex2rtf
- mkdir $(DISTDIR)/utils/tex2rtf/src
- cp $(UTILSDIR)/tex2rtf/*.in $(DISTDIR)/utils/tex2rtf
- cp $(UTILSDIR)/tex2rtf/src/*.h $(DISTDIR)/utils/tex2rtf/src
- cp $(UTILSDIR)/tex2rtf/src/*.in $(DISTDIR)/utils/tex2rtf/src
- cp $(UTILSDIR)/tex2rtf/src/*.cpp $(DISTDIR)/utils/tex2rtf/src
- cp $(UTILSDIR)/tex2rtf/src/tex2rtf.* $(DISTDIR)/utils/tex2rtf/src
+# this target does not generate a complete wxPython dist, it only includes
+# those files needed for the Debian source package.
+# see utils/wxPython/distrib for scripts to make a proper wxPython dist.
+PYTHON_DIST:
+ mkdir $(DISTDIR)/wxPython
+ mkdir $(DISTDIR)/wxPython/contrib
+ mkdir $(DISTDIR)/wxPython/contrib/gizmos
+ mkdir $(DISTDIR)/wxPython/contrib/glcanvas
+ mkdir $(DISTDIR)/wxPython/contrib/glcanvas/gtk
+ mkdir $(DISTDIR)/wxPython/contrib/ogl
+ mkdir $(DISTDIR)/wxPython/contrib/stc
+ mkdir $(DISTDIR)/wxPython/contrib/stc/gtk
+ mkdir $(DISTDIR)/wxPython/contrib/xrc
+ mkdir $(DISTDIR)/wxPython/demo
+ mkdir $(DISTDIR)/wxPython/demo/bitmaps
+ mkdir $(DISTDIR)/wxPython/demo/data
+ mkdir $(DISTDIR)/wxPython/src
+ mkdir $(DISTDIR)/wxPython/src/gtk
+ mkdir $(DISTDIR)/wxPython/wxPython
+ mkdir $(DISTDIR)/wxPython/wxPython/lib
+ mkdir $(DISTDIR)/wxPython/wxPython/lib/editor
+ mkdir $(DISTDIR)/wxPython/wxPython/lib/mixins
+
+ cp $(WXDIR)/wxPython/*.txt $(DISTDIR)/wxPython
+ cp $(WXDIR)/wxPython/*.py $(DISTDIR)/wxPython
+ cp $(WXDIR)/wxPython/setup.cfg $(DISTDIR)/wxPython
+ cp $(WXDIR)/wxPython/MANIFEST.in $(DISTDIR)/wxPython
+ cp $(WXDIR)/wxPython/contrib/gizmos/*.{py,cpp,i} $(DISTDIR)/wxPython/contrib/gizmos
+ -cp $(WXDIR)/wxPython/contrib/glcanvas/* $(DISTDIR)/wxPython/contrib/glcanvas
+ cp $(WXDIR)/wxPython/contrib/glcanvas/gtk/glcanvas.* $(DISTDIR)/wxPython/contrib/glcanvas/gtk
+ -cp $(WXDIR)/wxPython/contrib/ogl/* $(DISTDIR)/wxPython/contrib/ogl
+ -cp $(WXDIR)/wxPython/contrib/stc/* $(DISTDIR)/wxPython/contrib/stc
+ -cp $(WXDIR)/wxPython/contrib/stc/gtk/* $(DISTDIR)/wxPython/contrib/stc/gtk
+ -cp $(WXDIR)/wxPython/contrib/xrc/xrc.* $(DISTDIR)/wxPython/contrib/xrc
+ -cp $(WXDIR)/wxPython/demo/* $(DISTDIR)/wxPython/demo
+ -cp $(WXDIR)/wxPython/demo/bitmaps/* $(DISTDIR)/wxPython/demo/bitmaps
+ -cp $(WXDIR)/wxPython/demo/data/* $(DISTDIR)/wxPython/demo/data
+ -cp $(WXDIR)/wxPython/src/* $(DISTDIR)/wxPython/src
+ cp $(WXDIR)/wxPython/src/gtk/*.py $(DISTDIR)/wxPython/src/gtk
+ cp $(WXDIR)/wxPython/src/gtk/*.cpp $(DISTDIR)/wxPython/src/gtk
+ cp $(WXDIR)/wxPython/wxPython/lib/*.py $(DISTDIR)/wxPython/wxPython/lib
+ cp $(WXDIR)/wxPython/wxPython/lib/editor/*.py $(DISTDIR)/wxPython/wxPython/lib/editor
+ cp $(WXDIR)/wxPython/wxPython/lib/mixins/*.py $(DISTDIR)/wxPython/wxPython/lib/mixins