summaryrefslogtreecommitdiff
path: root/scripts/release/clean.sh
blob: 82a9c2a9a0479031881f5674b2bb3f796c2151d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
# Clean tree of unmanaged files after a 'make distclean'

if [ ! -d parted ] && [ ! -d libparted ]; then
	echo "Run this from the toplevel parted directory."
	exit 1
fi

rm -rf m4 configure config.rpath depcomp
rm -rf parted-*.*.*
rm -rf compile config.guess config.sub ltmain.sh mkinstalldirs
rm -rf config.h.in autom4te.cache missing aclocal.m4 install-sh
rm -rf doc/stamp-vti doc/version.texi doc/parted.info
rm -rf ABOUT-NLS INSTALL

rm -rf po/*.gmo po/stamp-po po/Makevars.template po/Rules-quot
rm -rf po/Makefile.in.in

find . -type f -name Makefile.in | xargs rm -f

exit 0