"John David Anglin" <[EMAIL PROTECTED]> wrote:
>> The coreutils CVS repository is finally available.
>
> Is there a script to touch appropriate files so that autoconf
> and automake are not needed?

I've just written a cheap-o, checked-in as README-cvs-timestamps.
It's probably buggy and incomplete, but might work for you.
I've also just cvs-removed it, to discourage its use.

#!/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
# you 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'

find . -type f -print0                  |xargs -0 touch -d "$t1"
test -d m4 \
  && find m4 -name '*.m4' -print0       |xargs -r0 touch -d "$t2"
touch -d "$t3" aclocal.m4 configure config.hin
find . -type f -name '*.po' -print0     |xargs -r0 touch -d "$t3"
find . -type f -name '*.info' -print0   |xargs -r0 touch -d "$t3"
find . -type f -name '*.y'|sed 's/\.y$/\.c/'    |xargs -r touch -d "$t3"
find . -name Makefile.in -print0        |xargs -0 touch -d "$t4"


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to