mirror of
https://github.com/frida/frida-python
synced 2026-06-08 14:16:17 +00:00
31 lines
674 B
Bash
Executable File
31 lines
674 B
Bash
Executable File
#!/bin/bash
|
|
|
|
srcdir=`dirname $0`
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
pushd $srcdir &>/dev/null
|
|
|
|
if [ "$1" = "clean" ]; then
|
|
[ -f "Makefile" ] && make maintainer-clean
|
|
|
|
rm -f aclocal.m4 configure missing install-sh \
|
|
depcomp ltmain.sh config.guess config.sub \
|
|
config.h.in `find . -name Makefile.in` compile
|
|
rm -rf autom4te.cache
|
|
|
|
popd &>/dev/null
|
|
exit 0
|
|
fi
|
|
|
|
# README and INSTALL are required by automake, but may be deleted by clean
|
|
# up rules. To get automake to work, simply touch these here, they will be
|
|
# regenerated from their corresponding *.in files by ./configure anyway.
|
|
touch README INSTALL
|
|
|
|
autoreconf -ifv
|
|
result=$?
|
|
|
|
popd &>/dev/null
|
|
|
|
exit $result
|