When updating via cvs, how dows one delete all the build directories? When I updated this afternoon, I did it manually, but there seem to be a few of them in different subdirectories..
Apam wrote to All <=-
I'm probably missing something obvious, or theres something in
the wiki I missed...
When updating via cvs, how dows one delete all the build
directories? When I updated this afternoon, I did it manually,
but there seem to be a few of them in different subdirectories..
I guess I could make a script to find all the
clang.freebsd.amd64.* folders and delete them, but I wanted to
check if there was a recommended way?
Hi
I'm probably missing something obvious, or theres something in the wiki I missed...
When updating via cvs, how dows one delete all the build directories?
When I
updated this afternoon, I did it manually, but there seem to be a few of them in different subdirectories..
I guess I could make a script to find all the clang.freebsd.amd64.* folders and delete them, but I wanted to check if there was a recommended way?
cleanall.sh is the recommended way. It'll do a "smart clean" so it just deletes dependent files, not the output directories themselves.
Apam wrote to Digital Man <=-
cleanall.sh is the recommended way. It'll do a "smart clean" so it just deletes dependent files, not the output directories themselves.
Ah ok. I did actually try that, but had to edit it to use gmake
instead of make - I'm not sure if just changing make to gmake
worked or not, I don't remember, I guess it would have. At
anyrate I'll use that in the future and let you know if I have
any troubles.
Would it be useful to add something like, if uname = linux use
make else use gmake to it? I imagine most people use Linux rather
than FreeBSD/OpenBSD etc and those that use BSD can easily edit
the file.
On my (Slackware) Linux, 'gmake' is a symbolic link to 'make',
which makes it work fine.
/usr/bin/# ln -sf make gmake
The above command should fix you right up.
Sysop: | MCMLXXIX |
---|---|
Location: | Prospect, CT |
Users: | 325 |
Nodes: | 10 (0 / 10) |
Uptime: | 153:43:13 |
Calls: | 507 |
Messages: | 219704 |