summaryrefslogtreecommitdiff
path: root/autoclean.sh
blob: 900f3536c4bea42ec3d37324a67f0d15a833feb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh -xu

[ -f Makefile ] && make distclean

rm -rf autom4te.cache
rm -f config.h.in config.h
rm -f config.status
rm -f configure
rm -f stamp*
rm -f aclocal.m4
rm -f compile
rm -f libtool

rm -f test/pacman/*.pyc
rm -f doc/html/*.html
rm -f doc/man3/*.3

find . \( -name 'Makefile' -o \
          -name 'Makefile.in' -o \
          -path '*/po/POTFILES' -o \
          -path '*/po/stamp-po' -o \
          -path '*/po/*.gmo' \) -exec rm -f {} +