Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/autoclean.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autoclean.sh')
-rwxr-xr-xautoclean.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/autoclean.sh b/autoclean.sh
index 9964340f..cc90da68 100755
--- a/autoclean.sh
+++ b/autoclean.sh
@@ -1,6 +1,6 @@
#!/bin/sh -xu
-make distclean
+[ -f Makefile ] && make distclean
rm -rf autom4te.cache
rm -rf Makefile
rm -rf Makefile.in
@@ -23,7 +23,6 @@ rm -rf ltmain.sh
rm -rf doc/Makefile
rm -rf doc/Makefile.in
rm -rf doc/html/*
-rm -rf doc/*.8
rm -rf doc/man3/*
rm -rf compile
rm -rf libtool
@@ -31,6 +30,10 @@ rm -rf mkinstalldirs
rm -rf config.rpath
rm -rf scripts/.deps/
rm -rf scripts/Makefile.in
+rm -rf etc/Makefile.in
+rm -rf etc/Makefile
+rm -rf etc/pacman.d/Makefile.in
+rm -rf etc/pacman.d/Makefile
rm -rf src/pacman/po/Makefile
rm -rf src/pacman/po/Makefile.in