+ mkdir $(DISTDIR)/samples/resource
+ cp $(SAMPDIR)/resource/Makefile.in $(DISTDIR)/samples/resource
+ cp $(SAMPDIR)/resource/makefile.unx $(DISTDIR)/samples/resource
+ cp $(SAMPDIR)/resource/*.cpp $(DISTDIR)/samples/resource
+ cp $(SAMPDIR)/resource/*.h $(DISTDIR)/samples/resource
+ cp $(SAMPDIR)/resource/*.wxr $(DISTDIR)/samples/resource
+
+ mkdir $(DISTDIR)/samples/rotate
+ cp $(SAMPDIR)/rotate/Makefile.in $(DISTDIR)/samples/rotate
+ cp $(SAMPDIR)/rotate/makefile.unx $(DISTDIR)/samples/rotate
+ cp $(SAMPDIR)/rotate/*.cpp $(DISTDIR)/samples/rotate
+ cp $(SAMPDIR)/rotate/*.bmp $(DISTDIR)/samples/rotate
+
+ mkdir $(DISTDIR)/samples/richedit
+ cp $(SAMPDIR)/richedit/Makefile.in $(DISTDIR)/samples/richedit
+ cp $(SAMPDIR)/richedit/makefile.unx $(DISTDIR)/samples/richedit
+ cp $(SAMPDIR)/richedit/*.cpp $(DISTDIR)/samples/richedit
+ cp $(SAMPDIR)/richedit/*.h $(DISTDIR)/samples/richedit
+ cp $(SAMPDIR)/richedit/*.xpm $(DISTDIR)/samples/richedit
+ cp $(SAMPDIR)/richedit/README $(DISTDIR)/samples/richedit
+ cp $(SAMPDIR)/richedit/TODO $(DISTDIR)/samples/richedit
+
+ mkdir $(DISTDIR)/samples/proplist
+ cp $(SAMPDIR)/proplist/Makefile.in $(DISTDIR)/samples/proplist
+ cp $(SAMPDIR)/proplist/makefile.unx $(DISTDIR)/samples/proplist
+ cp $(SAMPDIR)/proplist/*.cpp $(DISTDIR)/samples/proplist
+ cp $(SAMPDIR)/proplist/*.h $(DISTDIR)/samples/proplist
+
+ mkdir $(DISTDIR)/samples/propsize
+ cp $(SAMPDIR)/propsize/Makefile.in $(DISTDIR)/samples/propsize
+ cp $(SAMPDIR)/propsize/makefile.unx $(DISTDIR)/samples/propsize
+ cp $(SAMPDIR)/propsize/*.cpp $(DISTDIR)/samples/propsize
+ cp $(SAMPDIR)/propsize/*.xpm $(DISTDIR)/samples/propsize
+
+ mkdir $(DISTDIR)/samples/sashtest
+ cp $(SAMPDIR)/sashtest/Makefile.in $(DISTDIR)/samples/sashtest
+ cp $(SAMPDIR)/sashtest/makefile.unx $(DISTDIR)/samples/sashtest
+ cp $(SAMPDIR)/sashtest/*.cpp $(DISTDIR)/samples/sashtest
+ cp $(SAMPDIR)/sashtest/*.h $(DISTDIR)/samples/sashtest
+
+ mkdir $(DISTDIR)/samples/scroll
+ cp $(SAMPDIR)/scroll/Makefile.in $(DISTDIR)/samples/scroll
+ cp $(SAMPDIR)/scroll/makefile.unx $(DISTDIR)/samples/scroll
+ cp $(SAMPDIR)/scroll/*.cpp $(DISTDIR)/samples/scroll
+
+ mkdir $(DISTDIR)/samples/scrollsub
+ cp $(SAMPDIR)/scrollsub/Makefile.in $(DISTDIR)/samples/scrollsub
+ cp $(SAMPDIR)/scrollsub/makefile.unx $(DISTDIR)/samples/scrollsub
+ cp $(SAMPDIR)/scrollsub/*.cpp $(DISTDIR)/samples/scrollsub
+
+ mkdir $(DISTDIR)/samples/sockets
+ cp $(SAMPDIR)/sockets/Makefile.in $(DISTDIR)/samples/sockets
+ cp $(SAMPDIR)/sockets/makefile.unx $(DISTDIR)/samples/sockets
+ cp $(SAMPDIR)/sockets/*.cpp $(DISTDIR)/samples/sockets
+ cp $(SAMPDIR)/sockets/*.xpm $(DISTDIR)/samples/sockets
+
+ mkdir $(DISTDIR)/samples/splitter
+ cp $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter
+ cp $(SAMPDIR)/splitter/makefile.unx $(DISTDIR)/samples/splitter
+ cp $(SAMPDIR)/splitter/*.cpp $(DISTDIR)/samples/splitter
+
+ mkdir $(DISTDIR)/samples/statbar
+ cp $(SAMPDIR)/statbar/Makefile.in $(DISTDIR)/samples/statbar
+ cp $(SAMPDIR)/statbar/makefile.unx $(DISTDIR)/samples/statbar
+ cp $(SAMPDIR)/statbar/*.cpp $(DISTDIR)/samples/statbar
+ cp $(SAMPDIR)/statbar/*.xpm $(DISTDIR)/samples/statbar
+
+ mkdir $(DISTDIR)/samples/text
+ cp $(SAMPDIR)/text/Makefile.in $(DISTDIR)/samples/text
+ cp $(SAMPDIR)/text/makefile.unx $(DISTDIR)/samples/text
+ cp $(SAMPDIR)/text/*.cpp $(DISTDIR)/samples/text
+ cp $(SAMPDIR)/text/*.xpm $(DISTDIR)/samples/text
+
+ mkdir $(DISTDIR)/samples/thread
+ cp $(SAMPDIR)/thread/Makefile.in $(DISTDIR)/samples/thread
+ cp $(SAMPDIR)/thread/makefile.unx $(DISTDIR)/samples/thread
+ cp $(SAMPDIR)/thread/*.cpp $(DISTDIR)/samples/thread
+
+ mkdir $(DISTDIR)/samples/toolbar
+ cp $(SAMPDIR)/toolbar/Makefile.in $(DISTDIR)/samples/toolbar
+ cp $(SAMPDIR)/toolbar/makefile.unx $(DISTDIR)/samples/toolbar
+ cp $(SAMPDIR)/toolbar/*.cpp $(DISTDIR)/samples/toolbar
+ cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar
+ mkdir $(DISTDIR)/samples/toolbar/bitmaps
+ cp $(SAMPDIR)/toolbar/bitmaps/*.xpm $(DISTDIR)/samples/toolbar/bitmaps
+
+ mkdir $(DISTDIR)/samples/treectrl
+ cp $(SAMPDIR)/treectrl/Makefile.in $(DISTDIR)/samples/treectrl
+ cp $(SAMPDIR)/treectrl/makefile.unx $(DISTDIR)/samples/treectrl
+ cp $(SAMPDIR)/treectrl/*.cpp $(DISTDIR)/samples/treectrl
+ cp $(SAMPDIR)/treectrl/*.h $(DISTDIR)/samples/treectrl
+ cp $(SAMPDIR)/treectrl/*.xpm $(DISTDIR)/samples/treectrl
+ mkdir $(DISTDIR)/samples/treectrl/bitmaps
+ cp $(SAMPDIR)/treectrl/bitmaps/*.bmp $(DISTDIR)/samples/treectrl/bitmaps
+
+ mkdir $(DISTDIR)/samples/treelay
+ cp $(SAMPDIR)/treelay/Makefile.in $(DISTDIR)/samples/treelay
+ cp $(SAMPDIR)/treelay/makefile.unx $(DISTDIR)/samples/treelay
+ cp $(SAMPDIR)/treelay/*.cpp $(DISTDIR)/samples/treelay
+ cp $(SAMPDIR)/treelay/*.h $(DISTDIR)/samples/treelay
+
+ mkdir $(DISTDIR)/samples/typetest
+ cp $(SAMPDIR)/typetest/Makefile.in $(DISTDIR)/samples/typetest
+ cp $(SAMPDIR)/typetest/makefile.unx $(DISTDIR)/samples/typetest
+ cp $(SAMPDIR)/typetest/*.cpp $(DISTDIR)/samples/typetest
+ cp $(SAMPDIR)/typetest/*.h $(DISTDIR)/samples/typetest
+ cp $(SAMPDIR)/typetest/*.xpm $(DISTDIR)/samples/typetest
+
+ mkdir $(DISTDIR)/samples/validate
+ cp $(SAMPDIR)/validate/Makefile.in $(DISTDIR)/samples/validate
+ cp $(SAMPDIR)/validate/makefile.unx $(DISTDIR)/samples/validate
+ cp $(SAMPDIR)/validate/*.cpp $(DISTDIR)/samples/validate
+ cp $(SAMPDIR)/validate/*.h $(DISTDIR)/samples/validate
+ cp $(SAMPDIR)/validate/*.xpm $(DISTDIR)/samples/validate
+
+ mkdir $(DISTDIR)/samples/wizard
+ cp $(SAMPDIR)/wizard/Makefile.in $(DISTDIR)/samples/wizard
+ cp $(SAMPDIR)/wizard/makefile.unx $(DISTDIR)/samples/wizard
+ cp $(SAMPDIR)/wizard/*.cpp $(DISTDIR)/samples/wizard
+ cp $(SAMPDIR)/wizard/*.xpm $(DISTDIR)/samples/wizard
+
+ mkdir $(DISTDIR)/samples/widgets
+ mkdir $(DISTDIR)/samples/widgets/icons
+ cp $(SAMPDIR)/widgets/Makefile.in $(DISTDIR)/samples/widgets
+ cp $(SAMPDIR)/widgets/*.cpp $(DISTDIR)/samples/widgets
+ cp $(SAMPDIR)/widgets/*.h $(DISTDIR)/samples/widgets
+ cp $(SAMPDIR)/widgets/*.rc $(DISTDIR)/samples/widgets
+ cp $(SAMPDIR)/widgets/icons/*.xpm $(DISTDIR)/samples/widgets/icons
+
+UTILS_DIST: ALL_GUI_DIST
+ mkdir $(DISTDIR)/utils
+ cp $(UTILSDIR)/Makefile.in $(DISTDIR)/utils
+ cp $(UTILSDIR)/configure $(DISTDIR)/utils
+ cp $(UTILSDIR)/configure.in $(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
+
+ mkdir $(DISTDIR)/utils/makegen
+ mkdir $(DISTDIR)/utils/makegen/templates
+ cp $(UTILSDIR)/makegen/Makefile.in $(DISTDIR)/utils/makegen
+ cp $(UTILSDIR)/makegen/*.cpp $(DISTDIR)/utils/makegen
+ cp $(UTILSDIR)/makegen/templates/*.* $(DISTDIR)/utils/makegen/templates
+
+ mkdir $(DISTDIR)/utils/hhp2cached
+ cp $(UTILSDIR)/hhp2cached/*.* $(DISTDIR)/utils/hhp2cached
+
+ mkdir $(DISTDIR)/utils/HelpGen
+ mkdir $(DISTDIR)/utils/HelpGen/src
+ cp $(UTILSDIR)/HelpGen/Makefile.in $(DISTDIR)/utils/HelpGen
+ cp $(UTILSDIR)/HelpGen/src/*.* $(DISTDIR)/utils/HelpGen/src
+
+ cp -R $(UTILSDIR)/dialoged $(DISTDIR)/utils/dialoged
+
+MISC_DIST: ALL_GUI_DIST
+ mkdir $(DISTDIR)/misc
+ mkdir $(DISTDIR)/misc/afm
+ cp $(MISCDIR)/afm/*.afm $(DISTDIR)/misc/afm
+ mkdir $(DISTDIR)/misc/gs_afm
+ cp $(MISCDIR)/gs_afm/*.afm $(DISTDIR)/misc/gs_afm
+
+INTL_DIST:
+ mkdir $(DISTDIR)/locale
+ cp $(INTLDIR)/Makefile $(DISTDIR)/locale
+ cp $(INTLDIR)/*.po $(DISTDIR)/locale
+ -cp $(INTLDIR)/*.mo $(DISTDIR)/locale
+
+MANUAL_DIST:
+ mkdir $(DISTDIR)/docs
+ mkdir $(DISTDIR)/docs/latex
+ mkdir $(DISTDIR)/docs/latex/wx
+ cp $(DOCDIR)/latex/wx/*.tex $(DISTDIR)/docs/latex/wx
+ cp $(DOCDIR)/latex/wx/*.inc $(DISTDIR)/docs/latex/wx
+ cp $(DOCDIR)/latex/wx/*.gif $(DISTDIR)/docs/latex/wx
+ cp $(DOCDIR)/latex/wx/*.ini $(DISTDIR)/docs/latex/wx
+ cp $(DOCDIR)/latex/wx/*.bib $(DISTDIR)/docs/latex/wx
+ cp $(DOCDIR)/latex/wx/*.sty $(DISTDIR)/docs/latex/wx
+
+# 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/dllwidget
+ 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/bmp_source
+ mkdir $(DISTDIR)/wxPython/demo/data
+ mkdir $(DISTDIR)/wxPython/demo/dllwidget
+ mkdir $(DISTDIR)/wxPython/src
+ mkdir $(DISTDIR)/wxPython/src/gtk
+ mkdir $(DISTDIR)/wxPython/wxPython
+ mkdir $(DISTDIR)/wxPython/wxPython/lib
+ mkdir $(DISTDIR)/wxPython/wxPython/lib/PyCrust
+ 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/dllwidget/*.{py,cpp,h,i} $(DISTDIR)/wxPython/contrib/dllwidget
+ 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/bmp_source/* $(DISTDIR)/wxPython/demo/bmp_source
+ -cp $(WXDIR)/wxPython/demo/data/* $(DISTDIR)/wxPython/demo/data
+ -cp $(WXDIR)/wxPython/demo/dllwidget/Makefile $(DISTDIR)/wxPython/demo/dllwidget
+ -cp $(WXDIR)/wxPython/demo/dllwidget/test_* $(DISTDIR)/wxPython/demo/dllwidget
+ -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/PyCrust/*.py $(DISTDIR)/wxPython/wxPython/lib/PyCrust
+ cp $(WXDIR)/wxPython/wxPython/lib/editor/*.py $(DISTDIR)/wxPython/wxPython/lib/editor
+ cp $(WXDIR)/wxPython/wxPython/lib/mixins/*.py $(DISTDIR)/wxPython/wxPython/lib/mixins
+
+distclean:
+ $(RM) -r _dist_dir
+
+# VZ: the -only targets allow to do "make dist bzip-dist-only" without copying
+# the files twice
+dist-only:
+ @echo "*** Creating wxWindows distribution in $(DISTDIR)..."
+ @cd _dist_dir && tar ch $(DISTDIRNAME) | gzip -f9 > ../$(WXARCHIVE);
+ @if test "$(USE_GUI)" = 1; then \
+ cd $(DISTDIR); \
+ mv samples wxSamples-$(VER_SUFFIX); \
+ echo "*** Creating wxSamples archive..."; \
+ tar ch wxSamples-$(VER_SUFFIX) | gzip -f9 > ../../$(WXSAMPLES); \
+ mv wxSamples-$(VER_SUFFIX) samples; \
+ mv demos wxDemos-$(VER_SUFFIX); \
+ echo "*** Creating wxDemos archive..."; \
+ tar ch wxDemos-$(VER_SUFFIX) | gzip -f9 > ../../$(WXDEMOS); \
+ mv wxDemos-$(VER_SUFFIX) demos; \
+ fi
+
+dist: @GUIDIST@
+ @echo "*** Creating wxWindows distribution in $(DISTDIR)..."
+ @cd _dist_dir && tar ch $(DISTDIRNAME) | gzip -f9 > ../$(WXARCHIVE);
+ @if test "$(USE_GUI)" = 1; then \
+ cd $(DISTDIR); \
+ mv samples wxSamples-$(VER_SUFFIX); \
+ echo "*** Creating wxSamples archive..."; \
+ tar ch wxSamples-$(VER_SUFFIX) | gzip -f9 > ../../$(WXSAMPLES); \
+ mv wxSamples-$(VER_SUFFIX) samples; \
+ mv demos wxDemos-$(VER_SUFFIX); \
+ echo "*** Creating wxDemos archive..."; \
+ tar ch wxDemos-$(VER_SUFFIX) | gzip -f9 > ../../$(WXDEMOS); \
+ mv wxDemos-$(VER_SUFFIX) demos; \
+ fi
+
+bzip-dist-only:
+ @echo "*** Creating wxWindows distribution in $(DISTDIR)..."
+ @cd _dist_dir && tar ch $(DISTDIRNAME) | bzip2 -f9 > ../$(WXARCHIVE_BZIP);
+ @if test "$(USE_GUI)" = 1; then \
+ cd $(DISTDIR); \
+ mv samples wxSamples-${VER_SUFFIX}; \
+ echo "*** Creating wxSamples archive..."; \
+ tar ch wxSamples-${VER_SUFFIX} | bzip2 -f9 > ../../$(WXSAMPLES_BZIP); \
+ mv wxSamples-${VER_SUFFIX} samples; \
+ mv demos wxDemos-${VER_SUFFIX}; \
+ echo "*** Creating wxDemos archive..."; \
+ tar ch wxDemos-${VER_SUFFIX} | bzip2 -f9 > ../../$(WXDEMOS_BZIP); \
+ mv wxDemos-${VER_SUFFIX} demos; \
+ fi
+
+bzip-dist: @GUIDIST@
+ @echo "*** Creating wxWindows distribution in $(DISTDIR)..."
+ @cd _dist_dir && tar ch $(DISTDIRNAME) | bzip2 -f9 > ../$(WXARCHIVE_BZIP)
+ @if test "$(USE_GUI)" = 1; then \
+ cd $(DISTDIR); \
+ mv samples wxSamples; \
+ tar ch wxSamples | bzip2 -f9 > ../../$(WXSAMPLES_BZIP); \
+ mv wxSamples samples; \
+ mv demos wxDemos; \
+ tar ch wxDemos | bzip2 -f9 > ../../$(WXDEMOS_BZIP); \
+ mv wxDemos demos; \
+ fi
+
+debian-dist: debian-native-dist debian-msw-dirs MSW_DIST
+ mkdir $(DISTDIR)/debian
+ -cp $(WXDIR)/debian/* $(DISTDIR)/debian
+ cp $(DOCDIR)/licence.txt $(DISTDIR)/docs
+ cp $(DOCDIR)/licendoc.txt $(DISTDIR)/docs
+ cp $(DOCDIR)/preamble.txt $(DISTDIR)/docs
+ rm -f $(DISTDIR)/*.spec
+
+ @# now prune away a lot of the crap included by using cp -R
+ @# in other dist targets. Ugly and hardly portable but it
+ @# will run on any Debian box and that's enough for now.
+
+ find $(DISTDIR) \( -name "CVS" -o -name ".cvsignore" -o -name "*.dsp" -o -name "*.dsw" -o -name "*.hh*" -o \
+ \( -name "makefile.*" -a ! -name "makefile.unx" \) \) \
+ -print0 | xargs -0 rm -rf
+
+ rm -rf $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)
+ mv $(DISTDIR) $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)
+
+debian-native-dist: @GUIDIST@ UNIV_DIST MANUAL_DIST PYTHON_DIST
+
+debian-msw-dirs:
+ mkdir $(DISTDIR)/include/wx/msw
+ mkdir $(DISTDIR)/src/msw
+