summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-06-06 07:13:24 +0000
committerJim Meyering <jim@meyering.net>2003-06-06 07:13:24 +0000
commit04c93a0e13a94bff96a0a4a35f11ab7992aba885 (patch)
treefec049a91cbe4ba62c2e966f54a13164fcbfc8b2
parent46cab6debca9fcece67dbff8d4ad20344994edad (diff)
downloadcoreutils-04c93a0e13a94bff96a0a4a35f11ab7992aba885.tar.xz
.
-rw-r--r--README-cvs-timestamps29
1 files changed, 29 insertions, 0 deletions
diff --git a/README-cvs-timestamps b/README-cvs-timestamps
new file mode 100644
index 000000000..38c2c8f58
--- /dev/null
+++ b/README-cvs-timestamps
@@ -0,0 +1,29 @@
+#!/bin/sh
+#
+# *** W A R N I N G ***
+#
+# Use this script at your peril.
+# It is useful if you lack the proper versions of the maintainer-required
+# programs (e.g., autoconf, automake, aclocal, gettext, bison, info) and
+# are sure the checked-in files generated by those programs like all
+# up-to-date enough so that everything will work.
+#
+# Instead of using this script, consider installing private versions
+# of the required packages.
+
+# FIXME make sure we have GNU touch, find, and xargs
+
+t1='-6 min'
+t2='-5 min'
+t3='-4 min'
+t4='-3 min'
+
+bison_gen=`find . -type f -name '*.y'|sed 's/\.y$/\.c/'`
+
+find . -type f -print0 |xargs -0 touch -d "$t1"
+test -d m4 \
+ && find m4 -name '*.m4' -print0 |xargs -r0 touch -d "$t2"
+find . -type f -name '*.po' -print0 |xargs -r0 touch -d "$t2"
+find . -type f -name '*.info' -print0 |xargs -r0 touch -d "$t2"
+touch -d "$t3" aclocal.m4 configure config.hin $bison_src
+find . -name Makefile.in -print0 |xargs -0 touch -d "$t4"