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 Homebrew/homebrew#24222.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Peter Eisentraut 2013-11-12 13:37:07 -05:00 committed by Adam Vandenberg
parent a02a785fb4
commit 755835ee25

View file

@ -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