github-changelog-generator/ext/mkrf_conf.rb

11 lines
219 B
Ruby
Raw Normal View History

2015-09-30 19:52:13 +00:00
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