[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev "make distclean" bug report
From: |
Bela Lubkin |
Subject: |
Re: lynx-dev "make distclean" bug report |
Date: |
Tue, 23 Feb 1999 11:07:29 -0800 |
Glenn E. Thobe wrote:
> On unix, "make distclean" fails to delete files *.orig and *.rej which are
> in the source tree. It looks for them in the object code tree (in my case
> rooted at ../lynx2-8-2/obj/src) and of course doesn't find them there.
>
> Specifically, I applied patch set 17 and configured from a subdirectory:
>
> $ cd .../lynx2-8-2
> $ gzcat ../2.8.2dev.17.tar.gz | patch -p1
> $ mkdir obj
> $ cd obj
> $ ../configure --OPTIONS
> $ ./make
> ...
> make[1]: Leaving directory `.../lynx2-8-2/obj/src/chrtrans'
> rm -f *~ *.bak *.sav
> rm -f WWW/Library/unix/makefile src/makefile src/chrtrans/makefile
> find . -type f -name '*.rej' -exec rm -f {} \; <=== we should be in
> lynx2-8-2
> find . -type f -name '*.orig' -exec rm -f {} \; <=== we should be in
> lynx2-8-2
Wow... good thing I never `make distclean`. When I'm making a
provisional change to some file, I move it aside to ".orig". This would
blow away my originals, leaving only my changed versions.
What is the intention here? To delete detritus that might have been
left behind by `patch`?
>Bela<