mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-02 12:50:43 +08:00
re PR libgcj/38251 (tools.zip doesn't build on systems with short command lines)
PR libgcj/38251 * tools/Makefile.am (dist-hook): Prune .svn directories in asm and classes copies. * tools/Makefile.in: Regenerate. Revert: 2008-11-05 Andrew Haley <aph@redhat.com> * tools/Makefile.am (UPDATE_TOOLS_ZIP, CREATE_TOOLS_ZIP): Exclude .svn direcories. From-SVN: r157137
This commit is contained in:
parent
7d82c626c3
commit
199cb84e3c
@ -1,3 +1,16 @@
|
||||
2010-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
PR libgcj/38251
|
||||
* tools/Makefile.am (dist-hook): Prune .svn directories in asm and
|
||||
classes copies.
|
||||
* tools/Makefile.in: Regenerate.
|
||||
|
||||
Revert:
|
||||
2008-11-05 Andrew Haley <aph@redhat.com>
|
||||
|
||||
* tools/Makefile.am (UPDATE_TOOLS_ZIP, CREATE_TOOLS_ZIP): Exclude
|
||||
.svn direcories.
|
||||
|
||||
2010-01-18 Andreas Tobler <andreast@fgznet.ch>
|
||||
|
||||
* tools/Makefile.am (GJDOC_EX): Use find -name pattern -prune -o.
|
||||
|
@ -371,6 +371,9 @@ endif
|
||||
## BEGIN GCJ LOCAL
|
||||
cp -pR $(srcdir)/asm .
|
||||
cp -pR $(srcdir)/classes .
|
||||
if [ -d asm/.svn ]; then \
|
||||
find asm classes -depth -type d -name .svn -exec rm -rf \{\} \;; \
|
||||
fi
|
||||
## END GCJ LOCAL
|
||||
if CREATE_GJDOC
|
||||
## Copy over gjdoc resource files.
|
||||
@ -383,11 +386,11 @@ if CREATE_GJDOC
|
||||
endif
|
||||
|
||||
if WITH_JAR
|
||||
CREATE_TOOLS_ZIP=$(JAR) cf ../$(TOOLS_ZIP) `find . -name .svn -prune -o -type f -print`
|
||||
UPDATE_TOOLS_ZIP=$(JAR) uf ../$(TOOLS_ZIP) `find . -name .svn -prune -o -type f -print`
|
||||
CREATE_TOOLS_ZIP=$(JAR) cf ../$(TOOLS_ZIP) .
|
||||
UPDATE_TOOLS_ZIP=$(JAR) uf ../$(TOOLS_ZIP) .
|
||||
else
|
||||
CREATE_TOOLS_ZIP=$(ZIP) -r ../$(TOOLS_ZIP) `find . -name .svn -prune -o -type f -print`
|
||||
UPDATE_TOOLS_ZIP=$(ZIP) -u -r ../$(TOOLS_ZIP) `find . -name .svn -prune -o -type f -print`
|
||||
CREATE_TOOLS_ZIP=$(ZIP) -r ../$(TOOLS_ZIP) .
|
||||
UPDATE_TOOLS_ZIP=$(ZIP) -u -r ../$(TOOLS_ZIP) .
|
||||
endif
|
||||
|
||||
## First add classpath tools stuff.
|
||||
|
@ -708,10 +708,10 @@ noinst_DATA = $(TOOLS_ZIP)
|
||||
|
||||
# Where we want these data files installed.
|
||||
TOOLSdir = $(pkgdatadir)
|
||||
@WITH_JAR_FALSE@CREATE_TOOLS_ZIP = $(ZIP) -r ../$(TOOLS_ZIP) `find . -name .svn -prune -o -type f -print`
|
||||
@WITH_JAR_TRUE@CREATE_TOOLS_ZIP = $(JAR) cf ../$(TOOLS_ZIP) `find . -name .svn -prune -o -type f -print`
|
||||
@WITH_JAR_FALSE@UPDATE_TOOLS_ZIP = $(ZIP) -u -r ../$(TOOLS_ZIP) `find . -name .svn -prune -o -type f -print`
|
||||
@WITH_JAR_TRUE@UPDATE_TOOLS_ZIP = $(JAR) uf ../$(TOOLS_ZIP) `find . -name .svn -prune -o -type f -print`
|
||||
@WITH_JAR_FALSE@CREATE_TOOLS_ZIP = $(ZIP) -r ../$(TOOLS_ZIP) .
|
||||
@WITH_JAR_TRUE@CREATE_TOOLS_ZIP = $(JAR) cf ../$(TOOLS_ZIP) .
|
||||
@WITH_JAR_FALSE@UPDATE_TOOLS_ZIP = $(ZIP) -u -r ../$(TOOLS_ZIP) .
|
||||
@WITH_JAR_TRUE@UPDATE_TOOLS_ZIP = $(JAR) uf ../$(TOOLS_ZIP) .
|
||||
all: $(BUILT_SOURCES)
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-am
|
||||
|
||||
@ -1424,6 +1424,9 @@ $(TOOLS_ZIP): $(ALL_TOOLS_FILES)
|
||||
done
|
||||
cp -pR $(srcdir)/asm .
|
||||
cp -pR $(srcdir)/classes .
|
||||
if [ -d asm/.svn ]; then \
|
||||
find asm classes -depth -type d -name .svn -exec rm -rf \{\} \;; \
|
||||
fi
|
||||
@CREATE_GJDOC_TRUE@ for res in $(gjdoc_resources); do \
|
||||
@CREATE_GJDOC_TRUE@ dir=classes/`dirname $$res`; \
|
||||
@CREATE_GJDOC_TRUE@ if ! test -d "$$dir"; then @mkdir_p@ "$$dir"; fi; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user