[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Remove extra files in make distclean/extraclean

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2005-10-04 15:02:57 CEST

Hello list,

According to the comments for make extraclean and make distclean, the
former should return us to before './autogen.sh' was run, and the latter
to before './configure' was run.

However, there are some generated files that are left behind, as follows:

For 'make extraclean' (which cleans files generated by ./autogen.sh):
        gen-make.opts
        subversion/svn_private_config.h.in
        [a bunch of .pyc files under build/]

For 'make distclean' (which cleans files generated by ./configure):
        config.nice

        subversion/svn_private_config.h

        tools/backup/hot-backup.py
        contrib/client-side/svn_load_dirs.pl
        contrib/client-side/svncopy.pl
        contrib/client-side/testsvncopy.pl
        tools/hook-scripts/commit-access-control.pl
        tools/hook-scripts/commit-email.pl
        tools/hook-scripts/propchange-email.pl
        subversion/bindings/swig/perl/native/Makefile.PL

        [and these two directories, created by 'make mkdir-init'
        subversion/bindings/java/javahl/classes/
        subversion/bindings/java/javahl/include/]

I've attached a patch that adds most of these files to the relevant
parts of Makefile.in. I've not added the two javahl directories because
I couldn't see any obvious place to remove them (and I don't build the
java bindings, so I'd have no way to properly test such a change), and
I've not added the .pyc files, because, again, I'm not entirely sure where
to clear them up (or even what they are - compiled python bytecode?).

[[[
Make 'make extraclean' and 'make distclean' clean up files that are created
by ./autogen.sh and ./configure, respectively.

* Makefile.in
  (fast-distclean): Add config.nice, correct the path used for
    subversion/svn_private_config.h, and add all the outstanding files
    generated by SVN_CONFIG_SCRIPT in ./configure.in.
  (local-extraclean): Add gen-make.opts, and correct the path used for
    subversion/svn_private_config.h.in.
]]]

Regards,
Malcolm

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Tue Oct 4 15:04:03 2005

This is an archived mail posted to the Subversion Dev mailing list.