aboutsummaryrefslogtreecommitdiffstats
path: root/build/clean.sh
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2016-05-10 21:12:32 +0000
committerMartin Matuska <mm@FreeBSD.org>2016-05-10 21:12:32 +0000
commit43341e7cf4b9eee3ead77da04edc14370fe5b166 (patch)
tree922dcf836eb124c01bfdb418a5356b5de8859fb1 /build/clean.sh
parentc5f9310ca93fd77fba0ac435f0576225cf67689c (diff)
downloadsrc-43341e7cf4b9eee3ead77da04edc14370fe5b166.tar.gz
src-43341e7cf4b9eee3ead77da04edc14370fe5b166.zip
Trim libarchive/dist using FREEBSD-Xlist
Notes
Notes: svn path=/vendor/libarchive/dist/; revision=299390
Diffstat (limited to 'build/clean.sh')
-rw-r--r--build/clean.sh97
1 files changed, 0 insertions, 97 deletions
diff --git a/build/clean.sh b/build/clean.sh
deleted file mode 100644
index e4465f8a786c..000000000000
--- a/build/clean.sh
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/bin/sh
-
-#
-# Attempt to remove as many generated files as we can.
-# Ideally, a well-used development sandbox would look like
-# a pristine checkout after running this script.
-#
-
-if [ \! -f build/version ]; then
- echo 'Must run the clean script from the top-level dir of the libarchive distribution' 1>&2
- exit 1
-fi
-
-# If we're on BSD, blow away the build dir under /usr/obj
-rm -rf /usr/obj`pwd`
-
-#
-# Try to clean up a bit more...
-#
-
-find . -name '*.So' | xargs rm -f
-find . -name '*.a' | xargs rm -f
-find . -name '*.la' | xargs rm -f
-find . -name '*.lo' | xargs rm -f
-find . -name '*.o' | xargs rm -f
-find . -name '*.orig' | xargs rm -f
-find . -name '*.po' | xargs rm -f
-find . -name '*.rej' | xargs rm -f
-find . -name '*~' | xargs rm -f
-find . -name '.depend' | xargs rm -f
-find . -name '.deps' | xargs rm -rf
-find . -name '.dirstamp' | xargs rm -f
-find . -name '.libs' | xargs rm -rf
-find . -name 'CMakeFiles' | xargs rm -rf
-find . -name 'cmake_install.cmake' | xargs rm -f
-find . -name 'CTestTestfile.cmake' | xargs rm -f
-
-rm -rf Testing
-rm -rf autom4te.cache
-rm -rf bin
-rm -rf cmake.tmp
-rm -rf libarchive/Testing
-
-rm -f CMakeCache.txt
-rm -f DartConfiguration.tcl
-rm -f Makefile
-rm -f Makefile.in
-rm -f aclocal.m4
-rm -f bsdcpio
-rm -f bsdcpio_test
-rm -f bsdtar
-rm -f bsdtar_test
-rm -f build/autoconf/compile
-rm -f build/autoconf/config.guess
-rm -f build/autoconf/config.sub
-rm -f build/autoconf/depcomp
-rm -f build/autoconf/install-sh
-rm -f build/autoconf/libtool.m4
-rm -f build/autoconf/ltmain.sh
-rm -f build/autoconf/ltoptions.m4
-rm -f build/autoconf/ltsugar.m4
-rm -f build/autoconf/ltversion.m4
-rm -f build/autoconf/lt~obsolete.m4
-rm -f build/autoconf/missing
-rm -f build/pkgconfig/libarchive.pc
-rm -f build/version.old
-rm -f config.h
-rm -f config.h.in
-rm -f config.log
-rm -f config.status
-rm -f configure
-rm -f cpio/*.1.gz
-rm -f cpio/Makefile
-rm -f cpio/bsdcpio
-rm -f cpio/test/Makefile
-rm -f cpio/test/bsdcpio_test
-rm -f cpio/test/list.h
-rm -f doc/html/*
-rm -f doc/man/*
-rm -f doc/pdf/*
-rm -f doc/text/*
-rm -f doc/wiki/*
-rm -f libarchive/*.[35].gz
-rm -f libarchive/Makefile
-rm -f libarchive/libarchive.so*
-rm -f libarchive/test/Makefile
-rm -f libarchive/test/libarchive_test
-rm -f libarchive/test/list.h
-rm -f libarchive_test
-rm -f libtool
-rm -f stamp-h1
-rm -f tar/*.1.gz
-rm -f tar/Makefile
-rm -f tar/bsdtar
-rm -f tar/test/Makefile
-rm -f tar/test/bsdtar_test
-rm -f tar/test/list.h