Does swig make any other directories that we want to clean? Make
'swig-java-clean' should just be 'swig-clean', and take care of all
languages?
-K
"Daniel L. Rall" <dlr@collab.net> writes:
> Actually remove SWIG-generated .java source files when `make clean` is
> run.
>
> * Makefile.in
> (fast-clean): Enumerate the new swig-java-clean as a dependency.
>
> (swig-java-clean): Removed SWIG-generated .java source files and
> the directory for their associated Java package.
>
>
> Index: Makefile.in
> ===================================================================
> --- Makefile.in (revision 9082)
> +++ Makefile.in (working copy)
> @@ -248,7 +248,7 @@
>
> # clean everything but the bulky test output, returning the system back
> # to before 'make' was run.
> -fast-clean: doc-clean
> +fast-clean: doc-clean swig-java-clean
> @list='$(BUILD_DIRS)'; for i in $$list; do \
> echo "Cleaning $$i ..." ; \
> (cd $$i && rm -f *.o *.lo *.la *.la-a && rm -rf .libs) ; \
> @@ -287,6 +287,9 @@
> check-javahl:
> $(JAVA) -Djava.library.path=$(libdir) -classpath
> subversion/bindings/java/javahl/classes:$(javahl_tests_CLASSPATH)
> org.tigris.subversion.javahl.tests.BasicTests
>
> +swig-java-clean:
> + rm -rf $(SWIG_JAVA_DIR)/org/tigris/subversion/swig/
> +
> # Different versions of SWIG generate the Java source files in
> # different directories.
> swig-java-setup:
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 16 22:11:10 2004