Skip to content

Commit

Permalink
match & gsl: timestamp ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
pwdraper committed Feb 26, 2014
1 parent 03f04ab commit 7800354
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 4 deletions.
25 changes: 25 additions & 0 deletions thirdparty/fsf/gsl/bootstrap
Expand Up @@ -131,4 +131,29 @@ else

fi

# Checked out files don't necessarily have the correct timestamps. If
# any local build procedures depend on the checked in state (true for
# thirdparty code that should not be automatically autoconf'd, or automake'd
# by our local autotools), then this needs correcting, so provide a
# simple mechanism that just touches the files in the correct order.
# (Note this became a problem with subversion, CVS preserved the
# checkin dates by default).
#
# Look for a file "bootstrap_timeorder" in the local directory, if
# found just read each line and touch the existing files in turn.
# Need to sleep between touches as the resolution of these times
# is usually about 1 second (so keep the files to be touched to a
# minimum).
if test -f "bootstrap_timeorder"; then
echo "bootstrap: restoring timestamp order..."
for f in `cat bootstrap_timeorder` ""
do
if test -f "$f"; then
touch "$f"
sleep 1
echo " $f"
fi
done
fi

exit 0
12 changes: 12 additions & 0 deletions thirdparty/fsf/gsl/bootstrap_timeorder
@@ -0,0 +1,12 @@
# Establish the time order of some files directories.
# Don't want to regenerate these automatically.
gsl/configure.ac
gsl/aclocal.m4
gsl/configure
gsl/Makefile.in
gsl/doc/Makefile.in
gsl/doc/stamp-vti
gsl/doc/version.texi
gsl/doc/gsl-ref.info
gsl/doc/gsl-ref.info-1
gsl/doc/gsl-ref.info-2
10 changes: 6 additions & 4 deletions thirdparty/rit/match/bootstrap_timeorder
@@ -1,4 +1,6 @@
# Establish the time order of some pre-generated autotools files.
# Don't want to regenerate these.
match-0.8/configure
match-0.8/Makefile.in
# Establish the time order of some files directories.
# Don't want to regenerate these automatically.
match/configure.in
match/aclocal.m4
match/configure
match/Makefile.in

0 comments on commit 7800354

Please sign in to comment.