mirror of
https://github.com/moparisthebest/pacman
synced 2025-02-28 17:31:52 -05:00

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 {} +
|