File: prepare

package info (click to toggle)
pexec 1.0~rc8-4
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 768 kB
  • sloc: ansic: 5,682; makefile: 256; sh: 16
file content (21 lines) | stat: -rwxr-xr-x 347 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

if test "x$1" == "x--help" ; then
	echo	"Usage: $0 [clean]"
	exit	1
fi

AUTOCONF=${AUTOCONF:-autoconf}

rm -r -f ./autom4te.cache ./configure 
rm -r -f ./config.cache ./config.status ./config.log

if test "x$1" == "xclean" ; then
	exit 0
elif ${AUTOCONF} ; then
	rm -r -f autom4te.cache
	exit	0
else
	rm -r -f autom4te.cache
	exit	1
fi