Re: clean or something else????????????

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Fri Jul 27 2001 - 05:28:39 EDT

  • Next message: Christian Holm Christensen: "Re: brop error message"

    Hi Hiro et al, 
    
    On Thu, 26 Jul 2001 10:29:48 -0500 (CDT)
    Hironori Ito <hito@students.phsx.ukans.edu> wrote
    concerning ": clean or something else????????????":
    > 	Hello.  I have a very easy question.  Which "clean" am I supposed
    > to use in the Makefile?  Is it "clean", "mostlyclean", "distclean",
    > etc......???   Please do not tell me that it depends on what I do.  I just
    > want to use one that works all the time.  I do not want to compile with
    > one, and it does not work so that I use the different one which may or may
    > not work.  I am sure for some people that it is very good to have more
    > options, but I am not one of them.  I am not interested in waiting a
    > long time for brat/brop to compile and finding that it does not work the
    > way it should.  So,  tell me which "clean" really works all the time
    > (not most of the time or some time)!!!
    
    Use clean target to remove all generated files, i.e., go back to no
    object files, no llibraries, no dictionaries, no programs, i.e., if
    you want to compile from scratch. 
    
    On the other targets: 
    
    * mostly-clean     is more or less the same as clean 
    * maintainer-clean is very aggresive and removes almost everything to
                       some thing like the CVS checkout state.  That is,
    		   it even removes the Makefiles and various other
    		   configuration files. 
    * distclean        Removes all the Makefiles, and so on, so that the
    		   source tree is left in a state that resembles that
    		   which go into the tar-ball disttributiuon 
    
    I'm considering introducting a target dict-clean, that will remove all
    the dictionary files.  If and whan I introduce that target, it'll be
    the target to use each time someone adds a class, modifies a class,
    removes a class, and so on. 
    
    For more on all this, please refer to the Autotool references in the
    README file. 
    
    Yours, 
    
    Christian  -----------------------------------------------------------
    Holm Christensen                             Phone:  (+45) 35 35 96 91 
      Sankt Hansgade 23, 1. th.                  Office: (+45) 353  25 305 
      DK-2200 Copenhagen N                       Web:    www.nbi.dk/~cholm    
      Denmark                                    Email:       cholm@nbi.dk
    



    This archive was generated by hypermail 2b30 : Fri Jul 27 2001 - 05:29:42 EDT