summaryrefslogtreecommitdiff
path: root/README-cvs-timestamps
blob: 38c2c8f58dcb15082976ff08f8ad9fe72d6fbe66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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"