diff options
author | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-01-25 14:10:10 +0000 |
---|---|---|
committer | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-01-25 14:10:10 +0000 |
commit | e1bf8b855bf66593315e1c9fd925d997243663aa (patch) | |
tree | 9095e3d7931368de4c72c93cc5a0c5978f342de6 /contrib | |
parent | 5e5b6df0a703c1b09e590ee884fa9bd970a16e44 (diff) | |
download | gcc-e1bf8b855bf66593315e1c9fd925d997243663aa.tar.gz |
* egcs_update: Use "if" instead of "&&". Touch generated files
only after the corresponding *.y files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24860 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ChangeLog | 5 | ||||
-rwxr-xr-x | contrib/egcs_update | 15 |
2 files changed, 14 insertions, 6 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 382341b46d5..e5decf46872 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,8 @@ +1999-01-25 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> + + * egcs_update: Use "if" instead of "&&". Touch generated files + only after the corresponding *.y files. + 1999-01-19 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> * egcs_update: Do not use xargs, but a backquote construct. diff --git a/contrib/egcs_update b/contrib/egcs_update index 8ed783834af..7a0f69e01f1 100755 --- a/contrib/egcs_update +++ b/contrib/egcs_update @@ -52,8 +52,10 @@ echo "Pass 1: Updating autoconf and bison generated files" # makes sense to drop into the tree, but it isn't CVS-controlled. X=`for i in \`find . -name configure.in -o -name '*.y'\` do - D=\`dirname $i\`/CVS - [ -f $i -a -d $D ] && echo $i + D=\`dirname $i\`/CVS + if [ -f $i -a -d $D ]; then + echo $i + fi done` cvs -q update $X @@ -63,21 +65,22 @@ cvs -q update ${1+"$@"} echo "Pass 3: Fixing local tree" # Please also update the FAQ accordingly if you change the list of -# files below. +# files below. Note that generated files should be touched only +# after the corresponding *.y files. touch `find . -name configure -print` touch `find texinfo -name Makefile.in -print` touch `find texinfo -name \*.pot -print` touch `find texinfo -name \*.gmo -print` for f in gcc/c-parse.y \ + gcc/c-parse.h \ + gcc/c-parse.c \ gcc/cstamp-h.in \ gcc/c-gperf.h \ - gcc/c-parse.c \ - gcc/c-parse.h \ gcc/cexp.c \ gcc/cp/parse.c \ gcc/cp/parse.h \ - gcc/objc/objc-parse.c \ gcc/objc/objc-parse.y \ + gcc/objc/objc-parse.c \ gcc/java/parse.h \ gcc/java/parse.c \ gcc/java/parse-scan.c \ |