github-changelog-generator/ext/mkrf_conf.rb
2016-02-17 09:13:14 -02:00

11 lines
219 B
Ruby

PREFIX = "/usr/local"
MANPREFIX = "#{PREFIX}/share/man/man1"
MAN_PAGES = "man/git-*"
require "fileutils"
Dir.glob(MAN_PAGES).each do |f|
filename = File.basename(f)
FileUtils.cp(f, "#{MANPREFIX}/#{filename}")
end