automake-patches
[Top][All Lists]
Advanced

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

Re: feature requests - ?


From: Alexandre Duret-Lutz
Subject: Re: feature requests - ?
Date: Sat, 25 Sep 2004 22:50:08 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

>>> "Austin" == Austin Schutz <address@hidden> writes:
[...]
 Austin> So how about a feature like (type)-clean-local?
[...]
>>> "Austin" == Austin Schutz <address@hidden> writes:

 Austin> Please just delete that entire other email and forget you read it.

 Austin> Sometimes after coding all night it helps to reread the docs in the
 Austin> morning _after_ the coffee.

Let's document this where people are likely to look for it.
I'm installing the following.


2004-09-25  Alexandre Duret-Lutz  <address@hidden>

        * doc/automake.texi (Clean): Document -local targets.

Index: doc/automake.texi
===================================================================
RCS file: /cvs/automake/automake/doc/automake.texi,v
retrieving revision 1.55
diff -u -r1.55 automake.texi
--- doc/automake.texi   25 Sep 2004 20:29:21 -0000      1.55
+++ doc/automake.texi   25 Sep 2004 20:43:40 -0000
@@ -5543,9 +5543,26 @@
 @vindex DISTCLEANFILES
 @vindex MAINTAINERCLEANFILES
 
-As the GNU Standards aren't always explicit as to which files should be
-removed by which rule, we've adopted a heuristic which we believe was
-first formulated by Fran@,{c}ois Pinard:
address@hidden mostlyclean-local
address@hidden clean-local
address@hidden distclean-local
address@hidden maintainerclean-local
+When cleaning involves more than deleting some hard-coded list of
+files, it is also possible to supplement the cleaning rules with your
+own commands.  Simply define a rule for any of the
address@hidden, @code{clean-local}, @code{distclean-local},
+or @code{maintainerclean-local} targets (@pxref{Extending}).  A common
+case is deleting a directory, for instance a directory created by the
+test suite:
+
address@hidden
+clean-local:
+        -rm -rf testSubDir
address@hidden example
+
+As the GNU Standards aren't always explicit as to which files should
+be removed by which rule, we've adopted a heuristic which we believe
+was first formulated by Fran@,{c}ois Pinard:
 
 @itemize @bullet
 @item

-- 
Alexandre Duret-Lutz





reply via email to

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