]> git.saurik.com Git - wxWidgets.git/blobdiff - debian/rules
added <set-wxlike> tag (patch 1691429)
[wxWidgets.git] / debian / rules
index eeb61e670377c168116f78e1ddeca1d60830bf5d..8c89fd845b363b871dd1534893560f2449805f96 100755 (executable)
@@ -112,7 +112,6 @@ BASE_CONFIGURE_OPTIONS = $(COMMON_CONFIGURE_OPTIONS) \
 
 GTK_CONFIGURE_OPTIONS = $(COMMON_CONFIGURE_OPTIONS) \
     --with-gtk \
 
 GTK_CONFIGURE_OPTIONS = $(COMMON_CONFIGURE_OPTIONS) \
     --with-gtk \
-    --with-gnomeprint \
     --enable-mediactrl \
     --enable-sound \
     --with-sdl \
     --enable-mediactrl \
     --enable-sound \
     --with-sdl \
@@ -470,12 +469,13 @@ build-gtk-py-stamp: build-gtk-shared-stamp purge-dbg-py
 
 build-doc-stamp: build-gtk-shared-stamp
        dh_testdir
 
 build-doc-stamp: build-gtk-shared-stamp
        dh_testdir
-       mkdir $(objdir_doc); 
        # 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); \
+               cd -; \
                rm -rf $(objdir_doc); \
                rm -rf $(objdir_doc_cruft); \
                rm -rf $(objdir_doc); \
                rm -rf $(objdir_doc_cruft); \
+               mkdir $(objdir_doc); \
                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) \
@@ -483,10 +483,12 @@ build-doc-stamp: build-gtk-shared-stamp
                   ../docs/latex/wx/manual.tex                                 \
                   ../$(objdir_doc)/wx$(release)-manual.html                   \
                   -twice -html;                                               \
                   ../docs/latex/wx/manual.tex                                 \
                   ../$(objdir_doc)/wx$(release)-manual.html                   \
                   -twice -html;                                               \
+               cd -; \
                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 \
+               mkdir $(objdir_doc); \
                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