Closed Bug 28838 Opened 26 years ago Closed 26 years ago

make distclean does not work as expected

Categories

(SeaMonkey :: Build Config, defect, P3)

All
Linux

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jpranevich, Assigned: cls)

References

Details

(Whiteboard: [PDT-])

Attachments

(5 files, 1 obsolete file)

Using the latest cvs available source, I am unable to perform a "make distclean" on the source repository to clean out the created files and return to a pristine tree. The option is in the Makefile, however it errors after deleting some of the files. I have appended the output from "make distclean" on my system. I have also appended the result of "find ./ -name *.o" in my tree. If "make distclean" worked properly, this find should not return any items. (the distclean should also remove the extra autoconf files and any other built objects that were created after checking out the tree)
Use 'make -f client.mk cleansrcdir' instead. If building in an objdir, you can just delete the entire directory and start new. It's not optimal (or even preferred) but it works and is why 'make distclean' is still broken. :-/
Status: NEW → ASSIGNED
wtc: attachment 5793 [details] [diff] [review] implements distclean for nspr. It returns the tree to the state it was in before you ran configure...with the exception of the created directories (in an objdir build). It will also remove the generated Makefiles if USE_AUTOCONF is defined. Currently, the autoconf nspr build can only be used in an objdir so it won't clobber the classic Makefiles.
Keywords: beta1
Hardware: DEC → All
Target Milestone: M15
PDT- sorry... this won't cause us to hold beta1
Whiteboard: [PDT-]
The distclean target for nspr is tracked by a separate bug (#29427).
Depends on: 29427
Checked in patch from 29427 to NSPRPUB_CLIENT_BRANCH.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
The distclean target for nspr doesn't need to go into NSPRPUB_CLIENT_BRANCH. The lack of a distclean target for nspr is not a serious problem. This can wait until NSPR 4.1. NSPRPUB_CLIENT_BRANCH should only receive NSPR releases and fixes for critical bugs.
Product: Browser → Seamonkey
Attached file attachment.txt (obsolete) —
Comment on attachment 8847292 [details] attachment.txt sorry...
Attachment #8847292 - Attachment is obsolete: true
Attachment #8847292 - Attachment is patch: false
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: