- ln -sf $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc help.app/Contents/Resources/help.rsrc
- ln -sf $(top_srcdir)/src/mac/carbon/wxmac.icns help.app/Contents/Resources/wxmac.icns
-
-@COND_PLATFORM_MACOSX_1@help_bundle: help.app/Contents/PkgInfo
+ cp -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).3.rsrc help.app/Contents/Resources/help.rsrc
+ cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns help.app/Contents/Resources/wxmac.icns
+
+@COND_PLATFORM_MACOSX_1@help_bundle: $(____help_BUNDLE_TGT_REF_DEP)
+
+data:
+ @mkdir -p .
+ @for f in back.gif books.gif bullet.bmp contents.gif cshelp.txt doc.chm doc.cnt doc.hhc doc.hhk doc.hhp doc.hlp doc.hpj doc.zip forward.gif up.gif; do \
+ if test \( ! -s ./$$f \) -o \( $(srcdir)/$$f -nt ./$$f \) ; then \
+ cp -pRf $(srcdir)/$$f . ; \
+ fi; \
+ done
+
+data_doc:
+ @mkdir -p ./doc
+ @for f in aindex.html ClassGraph.class ClassGraphPanel.class ClassLayout.class down.gif dxxgifs.tex HIER.html HIERjava.html icon1.gif icon2.gif index.html logo.gif NavigatorButton.class USE_HELP.html wx204.htm wx34.htm wxExtHelpController.html wxhelp.map wx.htm; do \
+ if test \( ! -s ./doc/$$f \) -o \( $(srcdir)/doc/$$f -nt ./doc/$$f \) ; then \
+ cp -pRf $(srcdir)/doc/$$f ./doc ; \
+ fi; \
+ done