+2008-03-14 François Pinard <pinard@iro.umontreal.ca>
+
+ * after-patch.py: New name for after-git.py.
+ * after-patch.sh: New name for after-git.sh.
+ * Makefile.am (EXTRA_DIST): Include them.
+
2008-03-13 François Pinard <pinard@iro.umontreal.ca>
* configure.ac: Force -liconv if libiconv is available.
ACLOCAL = ./aclocal.sh @ACLOCAL@
ACLOCAL_AMFLAGS = -I m4
-EXTRA_DIST = COPYING-LIB aclocal.sh m4/ChangeLog tables.py \
+EXTRA_DIST = COPYING-LIB aclocal.sh after-patch.py after-patch.sh \
+m4/ChangeLog tables.py \
keld/NomsSeulsfinal.lst keld/charsets.def keld/control.def \
keld/iso10646.def keld/mnemonics,ds keld/other.def keld/rfc1345.txt
SUBDIRS = doc lib po src tests contrib
top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = gnits
ACLOCAL_AMFLAGS = -I m4
-EXTRA_DIST = COPYING-LIB aclocal.sh m4/ChangeLog tables.py \
+EXTRA_DIST = COPYING-LIB aclocal.sh after-patch.py after-patch.sh \
+m4/ChangeLog tables.py \
keld/NomsSeulsfinal.lst keld/charsets.def keld/control.def \
keld/iso10646.def keld/mnemonics,ds keld/other.def keld/rfc1345.txt
+++ /dev/null
-#!/bin/sh
-
-# After "git clone" or "git checkout", file timestamps may be a bit random,
-# and unless you have all maintainer tools handy, it can put you in
-# some misery. This script makes all timestamps to be identical.
-
-if test -f configure.ac; then
- find . -name .git -prune -o -type f -print | xargs touch -r configure.ac
-else
- echo >2 "You should first cd to the distribution directory first."
- exit 1
-fi
# François Pinard <pinard@iro.umontreal.ca>, 2008.
"""\
-After "git clone" or "git checkout", file timestamps may be a bit random,
-and unless you have all maintainer tools handy, it can put you in
-some misery. This script makes all timestamps to be identical.
+After "patch", "git clone" or "git checkout", file timestamps may be a
+bit random, and unless you have all maintainer tools handy, it can put
+you in some misery. This script makes all timestamps to be identical.
"""
__metaclass__ = type
assert not arguments
# Use a reference file.
if not os.path.exists('configure.ac'):
- sys.exit(
- "You should first cd to the distribution directory first.")
+ sys.exit("You should first cd to the distribution directory.")
timestamp = os.path.getmtime('configure.ac')
# Walk all files, changing their timestamp.
stack = ['.']
--- /dev/null
+#!/bin/sh
+
+# After "patch", "git clone" or "git checkout", file timestamps may be a
+# bit random, and unless you have all maintainer tools handy, it can put
+# you in some misery. This script makes all timestamps to be identical.
+
+if test -f configure.ac; then
+ find . -name .git -prune -o -type f -print | xargs touch -r configure.ac
+else
+ echo >2 "You should first cd to the distribution directory."
+ exit 1
+fi