X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b63b07a809f9a3d22596d4971ef5c8971153823a..b403cd6583982f38ab41ae9c441cf19296004289:/debian/rules?ds=sidebyside diff --git a/debian/rules b/debian/rules index 314c07d7ed..efdbf59469 100755 --- a/debian/rules +++ b/debian/rules @@ -286,19 +286,16 @@ build-examples-stamp: build-gtk-shared-stamp rm -f $(objdir_examples)/samples/Makefile cp -a $(objdir_gtk_shared)/samples/Makefile $(objdir_examples)/samples - cp -a demos $(objdir_examples) + cd $(objdir_examples)/samples \ + && find -name 'Makefile.in' -exec rm -f '{}' ';' \ + && for d in $$(find -type d); do \ + if [ -f $$d/makefile.unx ]; then \ + mv $$d/makefile.unx $$d/Makefile; \ + fi; \ + done \ + cp -a wxPython/demo $(objdir_examples)/wxPython - @for d in $(objdir_examples)/demos $(objdir_examples)/samples; do \ - (cd $$d \ - && mv Makefile.in Makefile \ - && rm -f configure* \ - && find -name 'Makefile.in' -exec rm -f '{}' ';' \ - && for f in $$(find -type d); do \ - if [ -f $$f/makefile.unx ]; then \ - mv $$f/makefile.unx $$f/Makefile; \ - fi; \ - done) \ - done; + touch $@ build-i18n-stamp: build-gtk-shared-stamp @@ -379,6 +376,9 @@ clean: debian/control && rm -rf contrib/xrc/contrib \ && rm -rf *.pyc + cd wxPython/include/wx \ + && for f in $(contrib_libs); do $(RM) $$f; done + # We do the equivalent of this above by removing build, unfortunately # its not enough by itself to get the tree properly clean again. # && ./setup.py clean