make distclean (make realclean)

Peter Samuelson peter at cadcamlab.org
Mon May 1 11:06:02 GMT 2000


[Jens Skripczynski]
> wouldn't it be better to write:
> realclean: clean
>         -rm -f config.log 
>         -rm -rf bin/.libs
>         -rm -f bin/*
> 
> Which will erase the .dummy file, and all compiled libraries and executeales.

Not quite.  "*" does not include ".*" for most Unix shells.  A good
thing, too, because you usually do not want to include "..".  My usual
idiom for getting all files in a directory is "* .??*" which is not
perfect but works as long as I don't have any ".?" files.

Peter


More information about the samba-ntdom mailing list