From 54abcc91d080d15150a2dac45d85204d65090832 Mon Sep 17 00:00:00 2001 From: Ron Lee Date: Sun, 14 Oct 2001 01:48:14 +0000 Subject: [PATCH] Fixed clean target to really clean all the cruft that gets created at build time. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- debian/rules | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index dedb6d321c..e7769cb7b5 100755 --- a/debian/rules +++ b/debian/rules @@ -363,7 +363,12 @@ build-examples-stamp: build-gtk-shared-stamp build-i18n-stamp: build-gtk-shared-stamp dh_testdir + + # touch .po files first, since if they are not already up + # to date then _now_ is not the time to fix it. + # That should have been been done before cvs was tagged. cd $(objdir_i18n) \ + && touch *.po \ && $(MAKE) allmo touch $@ @@ -397,9 +402,21 @@ build-msw-dev-stamp: clean: debian/control dh_testdir dh_testroot + rm -rf config_deb.cache control-files-stamp $(build_stamps) $(objdirs) rm -f docs/lgpl.txt - cd wxPython && ./setup.py clean + rm -f docs/latex/wx/manual.bb + rm -f $(objdir_i18n)/*.mo + + cd wxPython \ + && ./setup.py clean \ + && rm -rf licence \ + && rm -rf build \ + && rm -rf contrib/ogl/contrib \ + && rm -rf contrib/stc/contrib \ + && rm -rf contrib/xrc/contrib \ + && rm -rf *.pyc + dh_clean rm -f debian/$(package_wxbase_lib).* rm -f debian/$(package_wxbase_dev).*