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:
parent
a02a785fb4
commit
755835ee25
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue