mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-24 11:24:05 +08:00
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:
parent
b323323f9b
commit
510a8dd51d
@ -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:
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user