]> granicus.if.org Git - recode/commitdiff
after-patch.* instead of after-git.*, distribute them
authorFrançois Pinard <pinard@iro.umontreal.ca>
Fri, 14 Mar 2008 19:51:59 +0000 (15:51 -0400)
committerFrançois Pinard <pinard@iro.umontreal.ca>
Fri, 14 Mar 2008 20:53:27 +0000 (16:53 -0400)
ChangeLog
Makefile.am
Makefile.in
after-git.sh [deleted file]
after-patch.py [moved from after-git.py with 79% similarity]
after-patch.sh [new file with mode: 0755]

index 1120e158f4f354652de6c2876a8374c82869da73..efe49901d151152783e5927bed9639776a85bb07 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index d4b7e5e23e404b01ca98cc7b620362e10e931c19..4559ef0a10640b5eaba9dd1db44d2e82b4761de7 100644 (file)
@@ -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
index a60f81b7973a4cf6402c650fd6a246f284df5142..6ca04ec4c4ecfea489911baf02b8fae5d40592fa 100644 (file)
@@ -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
 
diff --git a/after-git.sh b/after-git.sh
deleted file mode 100755 (executable)
index 48bf225..0000000
+++ /dev/null
@@ -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
similarity index 79%
rename from after-git.py
rename to after-patch.py
index e093e4ffcaebc4a470e62fd78ae86c4a7b2247a4..a09725536532a5d0b009a98386a0b73e7ea77153 100755 (executable)
@@ -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 @@ class Main:
         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 = ['.']
diff --git a/after-patch.sh b/after-patch.sh
new file mode 100755 (executable)
index 0000000..33e0d98
--- /dev/null
@@ -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