mkdir $(DISTDIR)/include
mkdir $(DISTDIR)/include/wx
cp $(INCDIR)/wx/fmappriv.h $(DISTDIR)/include/wx
+ # copy wxpresets
+ mkdir $(DISTDIR)/build
+ mkdir $(DISTDIR)/build/bakefiles
+ mkdir $(DISTDIR)/build/bakefiles/wxpresets
+ mkdir $(DISTDIR)/build/bakefiles/wxpresets/presets
+ mkdir $(DISTDIR)/build/bakefiles/wxpresets/sample
+ cp $(WXDIR)/build/bakefiles/wxpresets/presets/*.bkl $(DISTDIR)/build/bakefiles/wxpresets/presets
+ cp $(WXDIR)/build/bakefiles/wxpresets/sample/minimal* $(DISTDIR)/build/bakefiles/wxpresets/sample
+ cp $(WXDIR)/build/bakefiles/wxpresets/sample/config* $(DISTDIR)/build/bakefiles/wxpresets/sample
+ cp $(WXDIR)/build/bakefiles/wxpresets/*.txt $(DISTDIR)/build/bakefiles/wxpresets
# this target is the common part of distribution script for all GUI toolkits,
# but is not used when building wxBase distribution
mkdir $(DISTDIR)/include/wx/xml
mkdir $(DISTDIR)/include/wx/xrc
cp $(INCDIR)/wx/*.h $(DISTDIR)/include/wx
- cp $(INCDIR)/wx/*.inl $(DISTDIR)/include/wx
cp $(INCDIR)/wx/*.cpp $(DISTDIR)/include/wx
cp $(INCDIR)/wx/generic/*.h $(DISTDIR)/include/wx/generic
cp $(INCDIR)/wx/html/*.h $(DISTDIR)/include/wx/html
cp $(INCDIR)/wx/gtk/gnome/*.h $(DISTDIR)/include/wx/gtk/gnome
cp $(GTKDIR)/gnome/*.cpp $(DISTDIR)/src/gtk/gnome
+ mkdir $(DISTDIR)/src/mac
+ mkdir $(DISTDIR)/src/mac/corefoundation
+ cp $(WXDIR)/src/mac/corefoundation/*.cpp $(DISTDIR)/src/mac/corefoundation
+ mkdir $(DISTDIR)/include/wx/mac
+ mkdir $(DISTDIR)/include/wx/mac/corefoundation
+ cp $(WXDIR)/include/wx/mac/corefoundation/*.h $(DISTDIR)/include/wx/mac/corefoundation
+
mkdir $(DISTDIR)/contrib
cp -R $(WXDIR)/contrib $(DISTDIR)
cp $(X11DIR)/*.cpp $(DISTDIR)/src/x11
cp $(X11DIR)/*.c $(DISTDIR)/src/x11
cp $(X11DIR)/*.xbm $(DISTDIR)/src/x11
+ mkdir $(DISTDIR)/src/mac
+ mkdir $(DISTDIR)/src/mac/corefoundation
+ cp $(WXDIR)/src/mac/corefoundation/*.cpp $(DISTDIR)/src/mac/corefoundation
+ mkdir $(DISTDIR)/include/wx/mac
+ mkdir $(DISTDIR)/include/wx/mac/corefoundation
+ cp $(WXDIR)/include/wx/mac/corefoundation/*.h $(DISTDIR)/include/wx/mac/corefoundation
mkdir $(DISTDIR)/contrib
cp -R $(WXDIR)/contrib $(DISTDIR)
cp $(INCDIR)/wx/msw/*.ico $(DISTDIR)/include/wx/msw
cp $(INCDIR)/wx/msw/*.bmp $(DISTDIR)/include/wx/msw
cp $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
+ cp $(INCDIR)/wx/msw/wx.manifest $(DISTDIR)/include/wx/msw
cp $(INCDIR)/wx/msw/ole/*.h $(DISTDIR)/include/wx/msw/ole
cp $(INCDIR)/wx/msw/wince/*.h $(DISTDIR)/include/wx/msw/wince
mkdir $(DISTDIR)/src/msw/ole
cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
cp $(MSWDIR)/*.c $(DISTDIR)/src/msw
cp $(MSWDIR)/*.rc $(DISTDIR)/src/msw
- cp $(MSWDIR)/*.def $(DISTDIR)/src/msw
cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
MSW_ZIP_TEXT_DIST: ALL_GUI_DIST
mkdir $(DISTDIR)/src/msw/wince
cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
cp $(MSWDIR)/*.c $(DISTDIR)/src/msw
- cp $(MSWDIR)/*.def $(DISTDIR)/src/msw
cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
cp $(MSWDIR)/wince/*.* $(DISTDIR)/src/msw/wince
cp $(SRCDIR)/*.??? $(DISTDIR)/src
cp $(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/ju
+ 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 $(SAMPDIR)/internat/Makefile.in $(DISTDIR)/samples/internat
cp $(SAMPDIR)/internat/makefile.unx $(DISTDIR)/samples/internat
cp $(SAMPDIR)/internat/*.cpp $(DISTDIR)/samples/internat
cp $(SAMPDIR)/internat/*.xpm $(DISTDIR)/samples/internat
cp $(SAMPDIR)/internat/*.txt $(DISTDIR)/samples/internat
- cp $(SAMPDIR)/internat/fr/*.mo $(DISTDIR)/samples/internat/fr
+ cp $(SAMPDIR)/internat/bg/*.mo $(DISTDIR)/samples/internat/bg
+ cp $(SAMPDIR)/internat/cs/*.mo $(DISTDIR)/samples/internat/cs
cp $(SAMPDIR)/internat/de/*.mo $(DISTDIR)/samples/internat/de
+ cp $(SAMPDIR)/internat/fr/*.mo $(DISTDIR)/samples/internat/fr
cp $(SAMPDIR)/internat/ja/*.mo $(DISTDIR)/samples/internat/ja
+ cp $(SAMPDIR)/internat/ka/*.mo $(DISTDIR)/samples/internat/ka
+ cp $(SAMPDIR)/internat/pl/*.mo $(DISTDIR)/samples/internat/pl
cp $(SAMPDIR)/internat/ru/*.mo $(DISTDIR)/samples/internat/ru
- cp $(SAMPDIR)/internat/fr/*.po $(DISTDIR)/samples/internat/fr
+ cp $(SAMPDIR)/internat/sv/*.mo $(DISTDIR)/samples/internat/sv
+ cp $(SAMPDIR)/internat/bg/*.po $(DISTDIR)/samples/internat/bg
+ cp $(SAMPDIR)/internat/cs/*.po $(DISTDIR)/samples/internat/cs
cp $(SAMPDIR)/internat/de/*.po $(DISTDIR)/samples/internat/de
+ cp $(SAMPDIR)/internat/fr/*.po $(DISTDIR)/samples/internat/fr
cp $(SAMPDIR)/internat/ja/*.po $(DISTDIR)/samples/internat/ja
+ cp $(SAMPDIR)/internat/ka/*.po $(DISTDIR)/samples/internat/ka
+ cp $(SAMPDIR)/internat/pl/*.po $(DISTDIR)/samples/internat/pl
cp $(SAMPDIR)/internat/ru/*.po $(DISTDIR)/samples/internat/ru
+ cp $(SAMPDIR)/internat/sv/*.po $(DISTDIR)/samples/internat/sv
mkdir $(DISTDIR)/samples/ipc
cp $(SAMPDIR)/ipc/Makefile.in $(DISTDIR)/samples/ipc
cp $(SAMPDIR)/printing/*.cpp $(DISTDIR)/samples/printing
cp $(SAMPDIR)/printing/*.h $(DISTDIR)/samples/printing
cp $(SAMPDIR)/printing/*.xpm $(DISTDIR)/samples/printing
- cp $(SAMPDIR)/printing/*.xbm $(DISTDIR)/samples/printing
# mkdir $(DISTDIR)/samples/resource
# cp $(SAMPDIR)/resource/Makefile.in $(DISTDIR)/samples/resource
cp $(INTLDIR)/Makefile $(DISTDIR)/locale
cp $(INTLDIR)/*.po $(DISTDIR)/locale
-cp $(INTLDIR)/*.mo $(DISTDIR)/locale
+ subdirs=`cd $(INTLDIR) && ls */*.po | sed 's|/.*||' | uniq`; \
+ for dir in "$$subdirs"; do \
+ mkdir $(DISTDIR)/locale/$$dir; \
+ cp $(INTLDIR)/$$dir/*.[pm]o $(DISTDIR)/locale/$$dir; \
+ done
MANUAL_DIST:
mkdir $(DISTDIR)/docs
find $(DISTDIR) \( -name "CVS" -o -name ".cvsignore" -o -name "*.dsp" \
-o -name "*.dsw" -o -name "*.hh*" -o -name "*.mms" \
-o -name "*.mcp" -o -name "*M*.xml" -o -name "*.r" \
- -o -name "*.bkl" -o -name "*.pro" -o -name "*.def" \
+ -o -name "*.bkl" -o -name "*.pro" \
-o -name "*.vpj" -o -name "*.sc" \
-o \( -name "makefile.*" -a ! -name "makefile.unx" \) \
\) -print0 | xargs -0 rm -rf