Makefile.am (src.zip): Update src.zip file search to look in classpath directory.

2006-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* Makefile.am (src.zip): Update src.zip file search to look in
	classpath directory.
	* Makefile.in: Regenerate.

From-SVN: r110570
This commit is contained in:
Thomas Fitzsimmons 2006-02-03 23:58:09 +00:00 committed by Thomas Fitzsimmons
parent b323323f9b
commit 510a8dd51d
3 changed files with 51 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2006-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
* Makefile.am (src.zip): Update src.zip file search to look in
classpath directory.
* Makefile.in: Regenerate.
2006-02-03 Robert Schuster <robertschuster@fsfe.org>
* link.cc:

View File

@ -864,20 +864,40 @@ gnu/gcj/xlib/natXUnmapEvent.cc
src.zip:
-rm -f src.zip
here=`pwd`; \
( ( cd $(srcdir); \
( \
( cd $(srcdir)/classpath; \
find java gnu javax org -name '*.java' -print | \
while read file; do \
## Ugly code to avoid "echo -C". Must separate each entry by a newline
## Gross but easy.
echo "x-C" | sed -e 's/^.//'; \
echo $(srcdir); \
echo $(srcdir)/classpath; \
echo $$file; \
done ); \
## Now the build tree.
find gnu java -name '*.java' -print) | \
( cd classpath; \
find gnu java -name '*.java' -print | \
while read file; do \
echo "x-C" | sed -e 's/^.//'; \
echo `pwd`; \
echo $$file; \
done ); \
) | \
## Many of the above circumlocutions are because ZIP will most likely
## be a relative path to fastjar.
$(ZIP) -cfM@ $$here/src.zip
## Override GNU Classpath sources with libgcj replacements.
here=`pwd`; \
( \
( cd $(srcdir); \
find gnu java -name '*.java' -print | \
while read file; do \
echo "x-C" | sed -e 's/^.//'; \
echo $(srcdir); \
echo $$file; \
done ); \
) | \
$(ZIP) -ufM@ $$here/src.zip
## We use a variable for this in case the user wants to override it.
sourcesdir = $(jardir)

View File

@ -9465,15 +9465,34 @@ write-entries-to-file-check:
src.zip:
-rm -f src.zip
here=`pwd`; \
( ( cd $(srcdir); \
( \
( cd $(srcdir)/classpath; \
find java gnu javax org -name '*.java' -print | \
while read file; do \
echo "x-C" | sed -e 's/^.//'; \
echo $(srcdir)/classpath; \
echo $$file; \
done ); \
( cd classpath; \
find gnu java -name '*.java' -print | \
while read file; do \
echo "x-C" | sed -e 's/^.//'; \
echo `pwd`; \
echo $$file; \
done ); \
) | \
$(ZIP) -cfM@ $$here/src.zip
here=`pwd`; \
( \
( cd $(srcdir); \
find gnu java -name '*.java' -print | \
while read file; do \
echo "x-C" | sed -e 's/^.//'; \
echo $(srcdir); \
echo $$file; \
done ); \
find gnu java -name '*.java' -print) | \
$(ZIP) -cfM@ $$here/src.zip
) | \
$(ZIP) -ufM@ $$here/src.zip
install-src.zip: src.zip
$(INSTALL_DATA) src.zip $(DESTDIR)$(sourcesdir)/src-$(gcc_version).zip