Permalink
Browse files

Cleaup script update

  • Loading branch information...
1 parent 7af01fd commit 15e3de935a6870adac313fbe128f64ec0d9c2d32 @brezerk committed Feb 16, 2010
Showing with 17 additions and 27 deletions.
  1. +17 −5 cleanup.sh
  2. +0 −19 latex/Makefile
  3. +0 −3 src/q4wine-gui/uis/Run.ui
View
@@ -6,9 +6,21 @@
echo "Run: make clean";
make clean;
-echo "Removing cmake tmp";
-rm -rdf CMakeCache.txt CMakeFiles config.h cmake_install.cmake Makefile build install_manifest.txt qtcreator-build qtc-gdbmacros CMakeLists.txt.user q4wine.cbp;
-echo "Removing *~ fiels";
-find ./ -name '*~' -delete;
-find ./ -name '*.qm' -delete;
+
+names="CMakeCache.txt config.h cmake_install.cmake Makefile install_manifest.txt CMakeLists.txt.user *.cbp *~ *.ccx ui_*.h *.so *.a"
+
+for name in $names
+do
+ echo "Removing files: ${name}"
+ find ./ -name ${name} -type f -delete;
+done
+
+tmp_dirs="CMakeFiles build qtcreator-build"
+
+for tmp_dir in $tmp_dirs
+do
+ echo "Removing tmp dirs: ${tmp_dir}"
+ find ./ -name ${tmp_dir} -type d -exec rm -rdf '{}' \;
+done
+
echo "Done";
View
@@ -1,19 +0,0 @@
-all: clean refman.pdf
-
-pdf: refman.pdf
-
-refman.pdf: refman.tex
- pdflatex refman.tex
- makeindex refman.idx
- pdflatex refman.tex
- latex_count=5 ; \
- while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\
- do \
- echo "Rerunning latex...." ;\
- pdflatex refman.tex ;\
- latex_count=`expr $$latex_count - 1` ;\
- done
-
-
-clean:
- rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out refman.pdf
@@ -2,9 +2,6 @@
<ui version="4.0">
<class>Run</class>
<widget class="QDialog" name="Run">
- <property name="windowModality">
- <enum>Qt::WindowModal</enum>
- </property>
<property name="geometry">
<rect>
<x>0</x>

0 comments on commit 15e3de9

Please sign in to comment.