Skip to content

Commit

Permalink
Update autoclean.sh
Browse files Browse the repository at this point in the history
Use git to clean ignored files
  • Loading branch information
kcudnik committed Aug 21, 2021
1 parent 6f319f8 commit f1b632c
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions autoclean.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
#!/bin/bash

rm -rf aclocal.m4 autom4te.cache stamp-h1 libtool configure config.* Makefile.in Makefile config/* m4/*
git clean -dfX

find -type f -name "*~" -print0 | xargs -0 rm -f
find -type f -name "*.sw[po]" -print0 | xargs -0 rm -f
find -type f -name "Makefile" -print0 | xargs -0 rm -f
find -type f -name "Makefile.in" -print0 | xargs -0 rm -f

find -type d -name .deps -print0 | xargs -0 rm -rf
(cd SAI && git clean -dfX)

true

0 comments on commit f1b632c

Please sign in to comment.