# the tarball may already have the generated docs in it
if [ ! -e docs/html/wx/index.html ]; then \
cd $(objdir_gtk_shared)/utils/tex2rtf/src && $(FAST_MAKE); \
# the tarball may already have the generated docs in it
if [ ! -e docs/html/wx/index.html ]; then \
cd $(objdir_gtk_shared)/utils/tex2rtf/src && $(FAST_MAKE); \
mkdir $(objdir_doc_cruft); \
cd $(objdir_doc_cruft); \
LD_LIBRARY_PATH=../$(objdir_gtk_shared)/lib:$(LD_LIBRARY_PATH) \
mkdir $(objdir_doc_cruft); \
cd $(objdir_doc_cruft); \
LD_LIBRARY_PATH=../$(objdir_gtk_shared)/lib:$(LD_LIBRARY_PATH) \
cp docs/latex/wx/*.gif $(objdir_doc); \
rm -rf $(objdir_doc_cruft); \
rm -f $(objdir_doc)/wx$(release)-manual.{con,hh*,htx,ref}; \
else \
cp docs/latex/wx/*.gif $(objdir_doc); \
rm -rf $(objdir_doc_cruft); \
rm -f $(objdir_doc)/wx$(release)-manual.{con,hh*,htx,ref}; \
else \
cp docs/html/wx/* $(objdir_doc); \
mv $(objdir_doc)/index.html $(objdir_doc)/wx-$(release)-manual_contents.html; \
fi
cp docs/html/wx/* $(objdir_doc); \
mv $(objdir_doc)/index.html $(objdir_doc)/wx-$(release)-manual_contents.html; \
fi