Hello, I have a very stupid script : cat clean_my_tree_before_commit.sh #!/bin/bash pushd .. echo "Make clean" #make clean echo "Make distclean" #make distclean echo "Cleaning forgotten files" rm -rf configure Makefile.in autom4te.cache aclocal.m4 oscarinstall.log scripts/Makefile.in oscarsamples/Makefile.in share/Makefile.in share/prereqs/Makefile.in share/prereqs/HTML-Tree/Makefile.in share/prereqs/HTML-Tree/media/Makefile.in share/prereqs/HTML-Tree/scripts/Makefile.in share/prereqs/oda/Makefile.in share/prereqs/oda/scripts/Makefile.in share/prereqs/XML-Simple/Makefile.in share/prereqs/XML-Simple/media/Makefile.in share/prereqs/XML-Simple/scripts/Makefile.in share/prereqs/XML-Parser/Makefile.in share/prereqs/XML-Parser/media/Makefile.in share/prereqs/XML-Parser/scripts/Makefile.in share/prereqs/perl-Tk/Makefile.in share/prereqs/perl-Tk/media/Makefile.in share/prereqs/perl-Tk/media/RPMS/Makefile.in share/prereqs/perl-Tk/media/RPMS/5.6/Makefile.in share/prereqs/perl-Tk/media/RPMS/5.8/Makefile.in share/prereqs/perl-Tk/media/SRPMS/Makefile.in share/prereqs/perl-Tk/scripts/Makefile.in share/serverlists/Makefile.in dist/mkinstalldirs dist/Makefile.in dist/config.guess dist/config.sub dist/config_files_list.m4 dist/missing dist/install-sh doc/Makefile.in images/Makefile.in lib/Makefile.in lib/Qt/Makefile.in lib/OSCAR/Makefile.in lib/Tk/Makefile.in lib/Tk/HTML/Makefile.in testing/Makefile.in popd echo "Cleaning (auto)conf files in packages" pushd ../packages && find . -name Makefile.in -o -name .oscar_made_makefile_am -o -name Makefile.am | xargs rm -f popd
I was too "ashamed" of submiting it but is is working fine here ;-))) However, I think that we should incorporate it into the automake/autoconf mechanism. Another solution is to add those file to the "ignore" meta-information of SVN... Ben * Thomas Naughton <[EMAIL PROTECTED]> [04-10-18 15:03]: > Hey, > > I'm sure this is a stupid question but... :) > > When doing testing directly from SVN, I do the following: > ./autogen.sh; ./configure; make install > Then I go about my testing from the stuff in $OSCAR_HOME (/opt/oscar). > > I try to return this original SVN checkout to a clean state for future > testing/work. The following gets most of it: > make distclean; svn revert . > > However, I still seem to have the .am related files (Makefile.am, > .oscar_made_makefile_am) and the top-level cache directory. I believe all > this is from 'autogen.sh' and thought 'make distclean' would get rid of > this? > > So can someone hit me with the clue-bat on this "cleanup" issue. > > Thanks, > --tjn > > _________________________________________________________________________ > Thomas Naughton [EMAIL PROTECTED] > Research Associate (865) 576-4184 > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Oscar-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/oscar-devel -- Benoit des Ligneris Ph. D. President de Revolution Linux http://www.revolutionlinux.com/ OSCAR Chair http://oscar.openclustergroup.org/ Chef de projet EduLinux http://www.edulinux.org/ ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Oscar-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/oscar-devel
