[Apparmor-dev] List of files that have to be removed manually after a make clean/distclean.

Mathias Gug mathiaz at ubuntu.com
Wed Aug 8 18:15:14 MDT 2007


Hi,

On Wed, Aug 08, 2007 at 06:55:35PM -0400, Mathias Gug wrote:
> Here is the list of files that have to be removed manually after a make
> clean is done:
> 
Here is what the clean target in debian/rules is doing to clean the
directory after a build:

find changehat/libapparmor/ -type d -name autom4te.cache -print0 | xargs -0 -r rm -rf \;
find changehat/libapparmor/ -type d -name build -print0 | xargs -0 -r rm -rf \;
find changehat/libapparmor/ \( -name config.sub -o -name config.guess -o -name ltmain.sh \) -print0 | xargs -0 -r rm -f \;
find changehat/libapparmor/ \( -name Makefile.in \) -print0 | xargs -0 -r rm -f \;
if [ -r debian/deletable.files ] ; then \
       xargs -t -r rm -f < debian/deletable.files ;\
fi

The file debian/deletable.files contains:

changehat/libapparmor/aclocal.m4
changehat/libapparmor/compile
changehat/libapparmor/config.h.in
changehat/libapparmor/configure
changehat/libapparmor/depcomp
changehat/libapparmor/install-sh
changehat/libapparmor/missing
changehat/libapparmor/py-compile
changehat/libapparmor/ylwrap
changehat/libapparmor/src/grammar.c
changehat/libapparmor/src/grammar.h
changehat/libapparmor/src/scanner.h
changehat/libapparmor/src/scanner.c
changehat/libapparmor/doc/change_hat.2
parser/techdoc.aux
parser/techdoc.log
parser/techdoc.pdf
parser/techdoc.toc


--
Mathias



More information about the Apparmor-dev mailing list