Skip to content

Commit

Permalink
[GR-18163] Configure mandir in RbConfig
Browse files Browse the repository at this point in the history
PullRequest: truffleruby/2613
  • Loading branch information
bjfish committed Apr 27, 2021
2 parents daeed32 + 54a3e9a commit efb1633
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Compatibility:
* Fix `Hash#rehash` to remove duplicate keys after modifications (#2266, @MattAlp)
* Only fail `rb_check_type` for typed data, not wrapped untyped structs (#2331).
* Decide the visibility in `Module#define_method` based on `self` and the default definee (#2334).
* Configure `mandir` value in `RbConfig::CONFIG` and `RbConfig::MAKEFILE_CONFIG` (#2315).

Performance:

Expand Down
2 changes: 1 addition & 1 deletion lib/cext/ABI_check.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1
2
2 changes: 2 additions & 0 deletions lib/truffle/rbconfig.rb
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,8 @@ module RbConfig
mkconfig['datarootdir'] = '$(prefix)/share'
expanded['datadir'] = datarootdir
mkconfig['datadir'] = '$(datarootdir)'
expanded['mandir'] = "#{datarootdir}/man"
mkconfig['mandir'] = '$(datarootdir)/man'
expanded['ridir'] = "#{datarootdir}/ri"
mkconfig['ridir'] = '$(datarootdir)/ri'
expanded['vendordir'] = "#{rubylibprefix}/vendor_ruby"
Expand Down

0 comments on commit efb1633

Please sign in to comment.