On Thu, 23 Feb 2012 11:01:09 +0200 Graeme Geldenhuys <[email protected]> wrote:
> On 22 February 2012 19:08, Marcos Douglas wrote: > > > > Use 'make distclean' in Lazarus directory; > > > Oh God, yet another 'make clean' option!!! How many "clean" options > does the Lazarus project have?? The clean commands are paired with their counterparts. make clean all make bigideclean bigideclean make distclean is a feature of Makefiles created by fpcmake. > Anyway, I don't think it is going to make much of a difference now - > seeing that I removed the outdated compiled units already. > > > But while you are here... What is the difference between all the "make > clean..." options, and how many "clean" options do we really have? > Does Lazarus really need them all? Can't we just have a single 'make > clean' that really does the job as the name suggests? > > Good news for those using the Git mirror repository. I just found out > that git has a "really clean" option. > > git clean -d -x -f > > -d Delete untracked directories too > -x Do not use the git ignore file rules > -f Force a "yes to all" to remove all untracked files. That would delete the directories the user added, wouldn't it? >[...] > After this I searched the lazarus directory structure. There are NO > executables, compiled units or other temp files lying around. The > lazarus directory is now in a pristine state. I guess I'll use the > 'git clean' command from now onwards. Great. > Maybe if the makefile "clean" is not sufficient enough (or technically > limited in some way), the lazarus developers should implement a 'git > clean' style tool for the Lazarus project. Or does SVN already have a > similar command to git-clean? I don't know. I never needed to clean up everything. If I want the base state I do an svn export. Sometimes I did a "find . -name '*.ppu' -delete". Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
