makepkg: check pkgver validity after updating
[pacman-ng.git] / autoclean.sh
blob900f3536c4bea42ec3d37324a67f0d15a833feb4
1 #!/bin/sh -xu
3 [ -f Makefile ] && make distclean
5 rm -rf autom4te.cache
6 rm -f config.h.in config.h
7 rm -f config.status
8 rm -f configure
9 rm -f stamp*
10 rm -f aclocal.m4
11 rm -f compile
12 rm -f libtool
14 rm -f test/pacman/*.pyc
15 rm -f doc/html/*.html
16 rm -f doc/man3/*.3
18 find . \( -name 'Makefile' -o \
19 -name 'Makefile.in' -o \
20 -path '*/po/POTFILES' -o \
21 -path '*/po/stamp-po' -o \
22 -path '*/po/*.gmo' \) -exec rm -f {} +