On Thursday 25 April 2002 11:59 am, Lars Gullik Bjønnes wrote:
> Angus Leeming <[EMAIL PROTECTED]> writes:
> | when suing a build tree separate from the source tree, I'd expect that
> |     make maintainer-clean
> | would result in a build tree empty of all files. However, I find I must
> | add:
> |
> | rm -rf lib/xfonts
> | rm -f src/frontends/qt2/moc/*.C
> | rm -f src/frontends/qt2/xforms/*.[Ch]
> |
> | to achieve this. Could this be added to the targets as appropriate?
>
> What compiler is this?
> (and automake autoconf)

Not that this has any bearing on the matter:
aleem@pneumon:aleem-> cxx -V
DIGITAL C++ V6.1-029 on DIGITAL UNIX V4.0 (Rev. 1091)
aleem@pneumon:aleem-> automake --version
automake (GNU automake) 1.5
aleem@pneumon:aleem-> autoconf --version
Autoconf version 2.13

> Does rm on your box allow  "rm fil1 fil2 -r dir1 dir2"?

$ mkdir tmp; cd tmp
$ mkdir dir1 dir2
$ echo "crap" > file1
$ cp file1 file2; cp file1 dir1/.; cp file1 dir2/.
$ rm file1 file2 -r dir1 dir2
rm: -r: No such file or directory
rm: dir1 directory
rm: dir2 directory

So, no.
Two separate rm commands are needed.

> maintainer-clean work perfectly for me.
That's because you wrote it for your box.

Angus

Reply via email to