Re: Make Syntax

2004-02-02 Thread Ion-Mihai Tetcu
On Fri, 30 Jan 2004 21:38:54 -0800
Rishi Chopra [EMAIL PROTECTED] wrote:

 Is there any way to run a 'clean' command to remove 'WORK' directories 
 from the ports tree after the fact?

If you want to remove *all* the WORK dirs you can use:
find /usr/ports -type d -name 'work' -print | xargs rm

which is a lot faster.



-- 
IOnut
Unregistered ;) FreeBSD user
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Make Syntax

2004-01-31 Thread Peder Blom
On Fri, 30 Jan 2004 21:38:54 -0800
Rishi Chopra [EMAIL PROTECTED] wrote:

 Is there any way to run a 'clean' command to remove 'WORK' directories
 
 from the ports tree after the fact?
 

If you want to clean a specific port (and its dependencies) just do a
'make clean' in its directory, or if you want to clean the whole tree do
it in the ports base directory.

Check 'man ports' ,there are a number of other targets that might come
in handy at times. E.g. you can do a 'make extract' to get the ports
work directory, browse through readme's and other information before
installing, then do a 'make install clean'.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Make Syntax

2004-01-31 Thread Eric F Crist
On Friday 30 January 2004 11:43 pm, Chris wrote:
 On Friday 30 January 2004 11:38 pm, Rishi Chopra wrote:
  Is there any way to run a 'clean' command to remove 'WORK' directories
  from the ports tree after the fact?

 Sure -
 portsclean -CDD

 To find out what the flags are: man portsclean

The command I learned from this list is the following:
# cd /usr/ports
# make -DNOCLEANDEPENDS clean

HTH
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588

pgp0.pgp
Description: signature


Re: Make Syntax

2004-01-31 Thread Warren Block
On Fri, 30 Jan 2004, Rishi Chopra wrote:

 Is there any way to run a 'clean' command to remove 'WORK' directories
 from the ports tree after the fact?

Sure.

# make install clean

actually does several steps; you can separate them by just using the
individual make targets.  To clean a port and its dependencies, cd to
the individual port directory and use the clean target alone:

# make clean

See 'man ports' for a list of all the make targets.

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Make Syntax

2004-01-31 Thread Kent Stewart
On Saturday 31 January 2004 05:45 am, Eric F Crist wrote:
 On Friday 30 January 2004 11:43 pm, Chris wrote:
  On Friday 30 January 2004 11:38 pm, Rishi Chopra wrote:
   Is there any way to run a 'clean' command to remove 'WORK'
   directories from the ports tree after the fact?
 
  Sure -
  portsclean -CDD
 
  To find out what the flags are: man portsclean

 The command I learned from this list is the following:
 # cd /usr/ports
 # make -DNOCLEANDEPENDS clean


I thought this was an important enough option to simplify and so I 
created an alias to do the work. The alias depends on the shell and for 
csh it is as follows:

alias makednc   make -DNOCLEANDEPENDS clean

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Make Syntax

2004-01-30 Thread Chris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 30 January 2004 11:21 pm, Rishi Chopra wrote:
 Is there any difference between 'make install' and 'make install clean'?

Yes - while Make install - installs the said app, make install clean does a 
cleanup and remove of the word dir withing the port dir.

- -- 
Best regards,
Chris

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQA/AwUBQBsuXw+T/4DAG8NjEQLU0QCfUYaQ0b9Tg3kVrQjOkaplo3F3NiAAnjgr
xoWXkytPI1e3Reu9WTtzUFpP
=wwTd
-END PGP SIGNATURE-

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Make Syntax

2004-01-30 Thread Chris
On Friday 30 January 2004 11:26 pm, Chris wrote:
 On Friday 30 January 2004 11:21 pm, Rishi Chopra wrote:
  Is there any difference between 'make install' and 'make install clean'?

 Yes - while Make install - installs the said app, make install clean does a
 cleanup and remove of the word dir withing the port dir.

Actually - make install does a cleanup and remove of the WORK directory WITHIN 
the port directory - sorry. I just can't type tonight.

-- 
Best regards,
Chris

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Make Syntax

2004-01-30 Thread Rishi Chopra
Is there any way to run a 'clean' command to remove 'WORK' directories 
from the ports tree after the fact?

Chris wrote:

On Friday 30 January 2004 11:26 pm, Chris wrote:

On Friday 30 January 2004 11:21 pm, Rishi Chopra wrote:

Is there any difference between 'make install' and 'make install clean'?
Yes - while Make install - installs the said app, make install clean does a
cleanup and remove of the word dir withing the port dir.


Actually - make install does a cleanup and remove of the WORK directory WITHIN 
the port directory - sorry. I just can't type tonight.

--
Rishi Chopra
http://www.ocf.berkeley.edu/~rchopra
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Make Syntax

2004-01-30 Thread Chris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 30 January 2004 11:38 pm, Rishi Chopra wrote:
 Is there any way to run a 'clean' command to remove 'WORK' directories
 from the ports tree after the fact?

Sure -
portsclean -CDD

To find out what the flags are: man portsclean


- -- 
Best regards,
Chris

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQA/AwUBQBsyjg+T/4DAG8NjEQLkdwCfffUzrCStP/qIJqWmcV8a/geBQoUAn0IK
v2VSXYVr1aC5gCkVFXU/Sn/Q
=0vLJ
-END PGP SIGNATURE-

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]