- -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)/utils/wxPython
+ mkdir $(DISTDIR)/utils/wxPython/demo
+ mkdir $(DISTDIR)/utils/wxPython/demo/bitmaps
+ mkdir $(DISTDIR)/utils/wxPython/demo/data
+ mkdir $(DISTDIR)/utils/wxPython/distrib
+ mkdir $(DISTDIR)/utils/wxPython/lib
+ mkdir $(DISTDIR)/utils/wxPython/lib/editor
+ mkdir $(DISTDIR)/utils/wxPython/lib/sizers
+ mkdir $(DISTDIR)/utils/wxPython/modules
+ mkdir $(DISTDIR)/utils/wxPython/modules/html
+ mkdir $(DISTDIR)/utils/wxPython/modules/utils
+ mkdir $(DISTDIR)/utils/wxPython/modules/utils/gtk
+ mkdir $(DISTDIR)/utils/wxPython/src
+ mkdir $(DISTDIR)/utils/wxPython/src/gtk
+
+ cp $(UTILSDIR)/wxPython/*.txt $(DISTDIR)/utils/wxPython
+ -cp $(UTILSDIR)/wxPython/demo/* $(DISTDIR)/utils/wxPython/demo
+ -cp $(UTILSDIR)/wxPython/demo/bitmaps/* $(DISTDIR)/utils/wxPython/demo/bitmaps
+ -cp $(UTILSDIR)/wxPython/demo/data/* $(DISTDIR)/utils/wxPython/demo/data
+ cp $(UTILSDIR)/wxPython/distrib/build.py $(DISTDIR)/utils/wxPython/distrib
+ cp $(UTILSDIR)/wxPython/lib/*.py $(DISTDIR)/utils/wxPython/lib
+ cp $(UTILSDIR)/wxPython/lib/editor/*.py $(DISTDIR)/utils/wxPython/lib/editor
+ cp $(UTILSDIR)/wxPython/lib/sizers/*.py $(DISTDIR)/utils/wxPython/lib/sizers
+ -cp $(UTILSDIR)/wxPython/modules/html/* $(DISTDIR)/utils/wxPython/modules/html
+ -cp $(UTILSDIR)/wxPython/modules/utils/* $(DISTDIR)/utils/wxPython/modules/utils
+ cp $(UTILSDIR)/wxPython/modules/utils/gtk/utils.* $(DISTDIR)/utils/wxPython/modules/utils/gtk
+ -cp $(UTILSDIR)/wxPython/src/* $(DISTDIR)/utils/wxPython/src
+ cp $(UTILSDIR)/wxPython/src/gtk/*.py $(DISTDIR)/utils/wxPython/src/gtk
+ cp $(UTILSDIR)/wxPython/src/gtk/*.cpp $(DISTDIR)/utils/wxPython/src/gtk