[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autoconf and CVS

From: David Fang
Subject: Re: Autoconf and CVS
Date: Wed, 4 Jan 2006 03:23:51 -0500 (EST)

Ah, my bad!

        I was confused again by my own project where I have a
"maintainerclean" script that does a 'make maintainer-clean' followed by
removal of other maintainer files -- more than just maintainer-clean.
(Duh!) It looks something like this:


if test ! -f
        echo "You must run this script from the top source directory."
        exit 1

if test -f Makefile
        make maintainer-clean

rm -f *~
rm -f aclocal.m4
rm -rf autom4te.cache
rm -rf .deps
rm -f autoscan.log
rm -f configure.scan
rm -f config.status
rm -f configure
(cd config && \
        rm -f install-sh \
        missing \
        mkinstalldirs \
        config.guess \
        config.sub \
        compile \
        depcomp \ )
rm -f
rm -f stamp-h1
rm -f libtool
rm -f `find . -name Makefile`
rm -f `find . -name`


One thing to note is that I've chosen the 'config' subdirectory to be the
home of various autotool config tools scripts.

> "make maintainer-clean" doesn't clean most of the generated files.
> Second, maintainer-clean has nothing to do with AM_MAINTAINER_MODE.
> (And, as I said in my post to another sub-thread, forget about

David Fang

reply via email to

[Prev in Thread] Current Thread [Next in Thread]