Closed Bug 272250 Opened 20 years ago Closed 20 years ago

make distclean from mozilla does not clean mozilla/camino/build

Categories

(Camino Graveyard :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Camino0.9

People

(Reporter: Usul, Assigned: benjamin)

Details

Attachments

(1 file, 2 obsolete files)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8a5) Gecko/20041001 Camino/0.8+
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8a5) Gecko/20041001 Camino/0.8+

Wanting to distclean because I'm changing from a static build to a shared build
I noticed that mozilla/camino/build directory is not cleaned.

Reproducible: Always
Steps to Reproduce:
1. Build Camino
2. make -f client.mk distclean or make clean


Actual Results:  
mozilla/camino/build still contained the pref bundles and the Camino.app

Expected Results:  
the build directory should be empty.
-> bsmedberg
Assignee: pinkerton → bsmedberg
Assigning to bsmedberg as per our irc conversation. ccing mike and josh as they
lead the team. Targeting for 0.9
Target Milestone: --- → Camino0.9
Attached patch Add dist/camino to GARBAGE_DIRS (obsolete) — Splinter Review
Attachment #167421 - Flags: review?(pinkerton)
i think that should be camino/build, camino doesn't put anything into dist.
I don't think this is a problem any more. Seems like it never was. Reopen if you
can reproduce with exact steps.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
(In reply to comment #5)
> I don't think this is a problem any more. Seems like it never was. Reopen if you
> can reproduce with exact steps.

make -f client.mk build
make -f distclean 

build directory is present and should not be.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Summary: make clean from mozilla does not clean mozilla/camino/build → make distclean from mozilla does not clean mozilla/camino/build
Josh, this is in fact very simple. Just add "distclean" to the "clean clobber"
targets in camino/Makefile.in.

Of course, switching to use the GARBAGE var would avoid this kind of mistake in
the future ;)
ludo, can you verify the patch works?
(In reply to comment #8)
> ludo, can you verify the patch works?

Does not apply correctly. I'll upload a tested patch that applies.
Attached patch make distclean work (obsolete) — Splinter Review
setting r+ since i did not wrote the patch.
Attachment #167421 - Attachment is obsolete: true
Attachment #169383 - Flags: superreview?(pinkerton)
Attachment #169383 - Flags: review+
Comment on attachment 169383 [details] [diff] [review]
make distclean work

I was guessing about $(DIST)/camino. Does such a thing even exist?
> I was guessing about $(DIST)/camino. Does such a thing even exist?

No, AFAIK.

Why are you removing this line:
> rm -f resources/localized/English.lproj/Localized.rsrc
but not adding something else to remove that file?
(In reply to comment #12)

> 
> Why are you removing this line:
> > rm -f resources/localized/English.lproj/Localized.rsrc
> but not adding something else to remove that file?
Because that file is static to me and not build, it's being co directly from cvs.
Attachment #167421 - Flags: review?(pinkerton)
Comment on attachment 169383 [details] [diff] [review]
make distclean work

$(DIST)/camino doesn't exist.
Attachment #169383 - Flags: superreview?(pinkerton) → superreview-
Asking review to josh.
Attachment #169383 - Attachment is obsolete: true
Attachment #169648 - Flags: review?(joshmoz)
Comment on attachment 169648 [details] [diff] [review]
Adressing pink's comment.

sr=pink
Attachment #169648 - Flags: superreview+
landed on trunk.
Status: REOPENED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
Attachment #169648 - Flags: review?(joshmoz)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: