acpica_prep.sh revision 199767f8919635c4928607450d9e0abb932109ce
# $FreeBSD$
#
# Unpack an ACPI CA drop and restructure it to fit the FreeBSD layout
#
if [ ! $# -eq 1 ]; then
echo "usage: $0 acpica_archive"
exit
fi
src=$1
# files that should keep their full directory path
fulldirs="common compiler components include os_specific"
# files to remove
stripdirs="generate libraries tests tools"
stripfiles="Makefile README accygwin.h acdragonfly.h acdragonflyex.h \
# include files to canonify
# pre-clean
# unpack
echo unpack
# strip files
echo strip
done
for i in ${stripfiles}; do
done
# copy files
done
# canonify include paths
for H in ${src_headers}; do
done
for H in ${comp_headers}; do
-name "*.[chly]" -type f | \
done
for H in ${platform_headers}; do
done
# post-clean
# assist the developer in generating a diff
echo "Directories you may want to 'svn diff':"