aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Eisentraut2013-11-12 13:37:07 -0500
committerAdam Vandenberg2013-11-14 07:39:33 -0800
commitf87d0dbe7b996f210ecfc15196bf166986b4a691 (patch)
tree3b636a93a169959af1e8c92bfb7959024e2c2c83
parent47092b4bd01abc619114db01aa7b67b6c9c07f2f (diff)
downloadhomebrew-f87d0dbe7b996f210ecfc15196bf166986b4a691.tar.bz2
autoconf: Prevent autoreconf man page from being rebuilt
The inreplace on autoreconf.in changes the timestamp, causing the man page to be rebuilt (which would require help2man). Run inreplace on the man page as well to prevent that. It also keeps the man page consistent with the program. Closes #24222. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/autoconf.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/autoconf.rb b/Library/Formula/autoconf.rb
index fa7f0043e..af6d83ce4 100644
--- a/Library/Formula/autoconf.rb
+++ b/Library/Formula/autoconf.rb
@@ -21,6 +21,8 @@ class Autoconf < Formula
# force autoreconf to look for and use our glibtoolize
inreplace 'bin/autoreconf.in', 'libtoolize', 'glibtoolize'
+ # also touch the man page so that it isn't rebuilt
+ inreplace 'man/autoreconf.1', 'libtoolize', 'glibtoolize'
system "./configure", "--prefix=#{prefix}"
system "make install"
end