[sac-dev] Patch to fix a small problem with `make distclean'

Kuang He icrazy at gmail.com
Wed Oct 1 12:22:59 PDT 2008


Hi all,

Right now, in a source tree that has been configured with libedit, if
we use `make clean', all the generated files and directories under
libedit/ would be cleaned. However, if we use `make distclean', which
is supposed to be a superset of `make clean', not all the generated
files/dirs are cleaned properly. Like this:

$ cd libedit
$ make distclean
$ ll
total 16K
drwxr-xr-x 3 icrazy icrazy 4.0K Sep 30 02:15 include
drwxr-xr-x 2 icrazy icrazy 4.0K Sep 30 02:15 lib
drwxr-xr-x 5 icrazy icrazy 4.0K Sep 30 02:15 libedit-2.6.9
drwxr-xr-x 4 icrazy icrazy 4.0K Sep 30 02:15 man

Attached is a patch that utilizes [1] to fix this behavior, as well as
some corresponding documentation.

[1] Extending Automake Rules
    http://sources.redhat.com/automake/automake.html#Extending


Best regards,

-- 
Kuang He
Department of Physics
University of Connecticut
Storrs, CT 06269-3046

Tel: +1.860.486.4919
Web: http://www.phys.uconn.edu/~he/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make-distclean-patch.diff
Type: application/octet-stream
Size: 1231 bytes
Desc: not available
URL: <http://www.iris.washington.edu/pipermail/sac-dev/attachments/20081001/6317ae7b/attachment.obj>


More information about the sac-dev mailing list