$(CP_P) $(UTILSDIR)/tex2rtf/src/tex2rtf.rc $(DISTDIR)/utils/tex2rtf/src
$(CP_P) $(UTILSDIR)/tex2rtf/src/tex2rtf.xpm $(DISTDIR)/utils/tex2rtf/src
-GTK_DIST: ALL_GUI_DIST
+GTK_DIST: UNIV_DIST
$(CP_P) $(WXDIR)/wxGTK.spec $(DISTDIR)
$(CP_P) $(INCDIR)/wx/gtk/*.h $(DISTDIR)/include/wx/gtk
$(CP_P) $(GTKDIR)/*.h $(DISTDIR)/src/gtk
case "$(CP_PR)" in *lndir) mkdir $(DISTDIR)/contrib; esac
$(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
-X11_DIST: ALL_GUI_DIST UNIV_DIST
+X11_DIST: UNIV_DIST
$(CP_P) $(WXDIR)/wxX11.spec $(DISTDIR)
$(CP_P) $(INCDIR)/wx/x11/*.h $(DISTDIR)/include/wx/x11
$(CP_P) $(X11DIR)/*.cpp $(DISTDIR)/src/x11
case "$(CP_PR)" in *lndir) mkdir $(DISTDIR)/contrib; esac
$(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
-# TODO: Distribute some files
COCOA_DIST: ALL_GUI_DIST
+ $(CP_P) $(INCDIR)/wx/cocoa/*.h $(DISTDIR)/include/wx/cocoa
$(CP_P) $(COCOADIR)/*.mm $(DISTDIR)/src/cocoa
+ $(CP_P) $(COCOADIR)/*.cpp $(DISTDIR)/src/cocoa
+ $(CP_P) $(COCOADIR)/*.r $(DISTDIR)/src/cocoa
+ mkdir $(DISTDIR)/include/wx/mac/corefoundation
+ $(CP_P) $(INCDIR)/wx/mac/corefoundation/*.h $(DISTDIR)/include/wx/mac/corefoundation
+ mkdir $(DISTDIR)/src/mac/corefoundation
+ $(CP_P) $(MACDIR)/corefoundation/*.cpp $(DISTDIR)/src/mac/corefoundation
+ mkdir $(DISTDIR)/src/mac/carbon
+ $(CP_P) $(MACDIR)/carbon/Info.plist.in $(DISTDIR)/src/mac/carbon
+ $(CP_P) $(MACDIR)/carbon/wxmac.icns $(DISTDIR)/src/mac/carbon
+ case "$(CP_PR)" in *lndir) mkdir $(DISTDIR)/contrib; esac
+ $(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
-MSW_DIST: ALL_GUI_DIST
+MSW_DIST: UNIV_DIST
$(CP_P) $(WXDIR)/wxWINE.spec $(DISTDIR)
mkdir $(DISTDIR)/include/wx/msw/ole
mkdir $(DISTDIR)/include/wx/msw/wince
$(CP_P) $(INCDIR)/wx/msw/*.ico $(DISTDIR)/include/wx/msw
$(CP_P) $(INCDIR)/wx/msw/*.bmp $(DISTDIR)/include/wx/msw
$(CP_P) $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
- $(CP_P) $(INCDIR)/wx/msw/wx.manifest $(DISTDIR)/include/wx/msw
+ $(CP_P) $(INCDIR)/wx/msw/*.manifest $(DISTDIR)/include/wx/msw
$(CP_P) $(INCDIR)/wx/msw/ole/*.h $(DISTDIR)/include/wx/msw/ole
$(CP_P) $(INCDIR)/wx/msw/wince/*.h $(DISTDIR)/include/wx/msw/wince
mkdir $(DISTDIR)/src/msw/ole
$(CP_P) $(MSWDIR)/*.c $(DISTDIR)/src/msw
$(CP_P) $(MSWDIR)/*.rc $(DISTDIR)/src/msw
$(CP_P) $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
+ case "$(CP_PR)" in *lndir) mkdir $(DISTDIR)/contrib; esac
+ $(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
MSW_ZIP_TEXT_DIST: ALL_GUI_DIST
$(CP_P) $(WXDIR)/wxWINE.spec $(DISTDIR)
mkdir $(DISTDIR)/include/wx/msw/wince
$(CP_P) $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw
$(CP_P) $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
- $(CP_P) $(INCDIR)/wx/msw/wx.manifest $(DISTDIR)/include/wx/msw
+ $(CP_P) $(INCDIR)/wx/msw/*.manifest $(DISTDIR)/include/wx/msw
$(CP_P) $(INCDIR)/wx/msw/ole/*.h $(DISTDIR)/include/wx/msw/ole
$(CP_P) $(INCDIR)/wx/msw/wince/*.h $(DISTDIR)/include/wx/msw/wince
mkdir $(DISTDIR)/src/msw
$(CP_P) $(DEMODIR)/bombs/*.cpp $(DISTDIR)/demos/bombs
$(CP_P) $(DEMODIR)/bombs/*.h $(DISTDIR)/demos/bombs
$(CP_P) $(DEMODIR)/bombs/*.xpm $(DISTDIR)/demos/bombs
+ $(CP_P) $(DEMODIR)/bombs/*.ico $(DISTDIR)/demos/bombs
+ $(CP_P) $(DEMODIR)/bombs/*.rc $(DISTDIR)/demos/bombs
$(CP_P) $(DEMODIR)/bombs/readme.txt $(DISTDIR)/demos/bombs
case "$(CP_PR)" in *lndir) mkdir $(DISTDIR)/demos/dbbrowse; esac
$(CP_P) $(DEMODIR)/forty/*.xpm $(DISTDIR)/demos/forty
$(CP_P) $(DEMODIR)/forty/*.xbm $(DISTDIR)/demos/forty
$(CP_P) $(DEMODIR)/forty/*.htm $(DISTDIR)/demos/forty
+ $(CP_P) $(DEMODIR)/forty/*.bmp $(DISTDIR)/demos/forty
+ $(CP_P) $(DEMODIR)/forty/*.ico $(DISTDIR)/demos/forty
+ $(CP_P) $(DEMODIR)/forty/*.rc $(DISTDIR)/demos/forty
+ $(CP_P) $(DEMODIR)/forty/readme.txt $(DISTDIR)/demos/forty
mkdir $(DISTDIR)/demos/life
mkdir $(DISTDIR)/demos/life/bitmaps
$(CP_P) $(DEMODIR)/life/*.xpm $(DISTDIR)/demos/life
$(CP_P) $(DEMODIR)/life/*.inc $(DISTDIR)/demos/life
$(CP_P) $(DEMODIR)/life/*.lif $(DISTDIR)/demos/life
+ $(CP_P) $(DEMODIR)/life/*.rc $(DISTDIR)/demos/life
+ $(CP_P) $(DEMODIR)/life/*.ico $(DISTDIR)/demos/life
$(CP_P) $(DEMODIR)/life/bitmaps/*.xpm $(DISTDIR)/demos/life/bitmaps
+ $(CP_P) $(DEMODIR)/life/bitmaps/*.bmp $(DISTDIR)/demos/life/bitmaps
mkdir $(DISTDIR)/demos/poem
$(CP_P) $(DEMODIR)/poem/Makefile.in $(DISTDIR)/demos/poem
$(CP_P) $(DEMODIR)/poem/*.xpm $(DISTDIR)/demos/poem
$(CP_P) $(DEMODIR)/poem/*.dat $(DISTDIR)/demos/poem
$(CP_P) $(DEMODIR)/poem/*.txt $(DISTDIR)/demos/poem
+ $(CP_P) $(DEMODIR)/poem/*.rc $(DISTDIR)/demos/poem
+ $(CP_P) $(DEMODIR)/poem/*.ico $(DISTDIR)/demos/poem
mkdir $(DISTDIR)/demos/fractal
$(CP_P) $(DEMODIR)/fractal/Makefile.in $(DISTDIR)/demos/fractal
$(CP_P) $(DEMODIR)/fractal/makefile.unx $(DISTDIR)/demos/fractal
$(CP_P) $(DEMODIR)/fractal/*.cpp $(DISTDIR)/demos/fractal
+ $(CP_P) $(DEMODIR)/fractal/*.rc $(DISTDIR)/demos/fractal
+ $(CP_P) $(DEMODIR)/fractal/*.ico $(DISTDIR)/demos/fractal
SAMPLES_DIST: ALL_GUI_DIST
mkdir $(DISTDIR)/samples
$(CP_P) $(SAMPDIR)/image/smile.xpm $(DISTDIR)/samples/image
mkdir $(DISTDIR)/samples/internat
- mkdir $(DISTDIR)/samples/internat/bg
- mkdir $(DISTDIR)/samples/internat/cs
- mkdir $(DISTDIR)/samples/internat/de
- mkdir $(DISTDIR)/samples/internat/fr
- mkdir $(DISTDIR)/samples/internat/ja
- mkdir $(DISTDIR)/samples/internat/ka
- mkdir $(DISTDIR)/samples/internat/pl
- mkdir $(DISTDIR)/samples/internat/ru
- mkdir $(DISTDIR)/samples/internat/sv
$(CP_P) $(SAMPDIR)/internat/Makefile.in $(DISTDIR)/samples/internat
$(CP_P) $(SAMPDIR)/internat/makefile.unx $(DISTDIR)/samples/internat
$(CP_P) $(SAMPDIR)/internat/*.cpp $(DISTDIR)/samples/internat
$(CP_P) $(SAMPDIR)/internat/*.xpm $(DISTDIR)/samples/internat
$(CP_P) $(SAMPDIR)/internat/*.txt $(DISTDIR)/samples/internat
- $(CP_P) $(SAMPDIR)/internat/bg/*.mo $(DISTDIR)/samples/internat/bg
- $(CP_P) $(SAMPDIR)/internat/cs/*.mo $(DISTDIR)/samples/internat/cs
- $(CP_P) $(SAMPDIR)/internat/de/*.mo $(DISTDIR)/samples/internat/de
- $(CP_P) $(SAMPDIR)/internat/fr/*.mo $(DISTDIR)/samples/internat/fr
- $(CP_P) $(SAMPDIR)/internat/ja/*.mo $(DISTDIR)/samples/internat/ja
- $(CP_P) $(SAMPDIR)/internat/ka/*.mo $(DISTDIR)/samples/internat/ka
- $(CP_P) $(SAMPDIR)/internat/pl/*.mo $(DISTDIR)/samples/internat/pl
- $(CP_P) $(SAMPDIR)/internat/ru/*.mo $(DISTDIR)/samples/internat/ru
- $(CP_P) $(SAMPDIR)/internat/sv/*.mo $(DISTDIR)/samples/internat/sv
- $(CP_P) $(SAMPDIR)/internat/bg/*.po $(DISTDIR)/samples/internat/bg
- $(CP_P) $(SAMPDIR)/internat/cs/*.po $(DISTDIR)/samples/internat/cs
- $(CP_P) $(SAMPDIR)/internat/de/*.po $(DISTDIR)/samples/internat/de
- $(CP_P) $(SAMPDIR)/internat/fr/*.po $(DISTDIR)/samples/internat/fr
- $(CP_P) $(SAMPDIR)/internat/ja/*.po $(DISTDIR)/samples/internat/ja
- $(CP_P) $(SAMPDIR)/internat/ka/*.po $(DISTDIR)/samples/internat/ka
- $(CP_P) $(SAMPDIR)/internat/pl/*.po $(DISTDIR)/samples/internat/pl
- $(CP_P) $(SAMPDIR)/internat/ru/*.po $(DISTDIR)/samples/internat/ru
- $(CP_P) $(SAMPDIR)/internat/sv/*.po $(DISTDIR)/samples/internat/sv
+ for f in `(cd $(SAMPDIR); find internat -name '*.[mp]o' -print)`; do \
+ mkdir -p $(DISTDIR)/samples/`dirname $$f`; \
+ $(CP_P) $(SAMPDIR)/$$f $(DISTDIR)/samples/$$f; \
+ done
mkdir $(DISTDIR)/samples/ipc
$(CP_P) $(SAMPDIR)/ipc/Makefile.in $(DISTDIR)/samples/ipc
$(CP_P) $(UTILSDIR)/helpview/Makefile.in $(DISTDIR)/utils/helpview
$(CP_P) $(UTILSDIR)/helpview/src/*.h $(DISTDIR)/utils/helpview/src
$(CP_P) $(UTILSDIR)/helpview/src/*.cpp $(DISTDIR)/utils/helpview/src
+ $(CP_P) $(UTILSDIR)/helpview/src/*.rc $(DISTDIR)/utils/helpview/src
+ $(CP_P) $(UTILSDIR)/helpview/src/*.ico $(DISTDIR)/utils/helpview/src
+ $(CP_P) $(UTILSDIR)/helpview/src/readme.txt $(DISTDIR)/utils/helpview/src
$(CP_P) $(UTILSDIR)/helpview/src/Makefile.in $(DISTDIR)/utils/helpview/src
$(CP_P) $(UTILSDIR)/helpview/src/test.zip $(DISTDIR)/utils/helpview/src
$(CP_P) $(UTILSDIR)/helpview/src/bitmaps/*.xpm $(DISTDIR)/utils/helpview/src/bitmaps
@# in other dist targets.
find $(DISTDIR) \( -name "CVS" -o -name ".cvsignore" -o -name "*.dsp" -o -name "*.dsw" -o -name "*.hh*" -o \
\( -name "makefile.*" -a ! -name "makefile.unx" \) \) \
- -print | xargs rm -rf
+ -print | egrep -v '/(samples|dbbrowse)/.*\.hh.$$' | xargs rm -rf
dist: distdir
@cd _dist_dir && tar ch $(DISTDIRNAME) | gzip -f9 > ../$(WXARCHIVE);