Permalink
Browse files

after-patch.* instead of after-git.*, distribute them

  • Loading branch information...
1 parent df394af commit 17c07095295d1061e44f561bdba17befde1da4c1 @pinard committed Mar 14, 2008
Showing with 26 additions and 19 deletions.
  1. +6 −0 ChangeLog
  2. +2 −1 Makefile.am
  3. +2 −1 Makefile.in
  4. +0 −12 after-git.sh
  5. +4 −5 after-git.py → after-patch.py
  6. +12 −0 after-patch.sh
View
@@ -1,3 +1,9 @@
+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.
View
@@ -22,7 +22,8 @@ AUTOMAKE_OPTIONS = gnits
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
View
@@ -227,7 +227,8 @@ top_builddir = @top_builddir@
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
View
@@ -1,12 +0,0 @@
-#!/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
@@ -4,9 +4,9 @@
# 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
@@ -23,8 +23,7 @@ def main(self, *arguments):
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 = ['.']
View
@@ -0,0 +1,12 @@
+#!/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

0 comments on commit 17c0709

Please sign in to comment.