mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 00:08:50 -05:00
ec91133e38
Avoid non-POSIX brace expansion and rely on find to locate and destroy files outside the root. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
23 lines
450 B
Bash
Executable File
23 lines
450 B
Bash
Executable File
#!/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 {} +
|