Skip to content
Permalink
Browse files

Do not generate rdoc for Changelog files.

This is a better fix for commit 1ab5f08
  • Loading branch information...
larskanis committed Jan 12, 2017
1 parent ce171cd commit ca359aa3d827a3cbba6c715dcaeca0b03b717d62
@@ -0,0 +1,26 @@
diff --git a/.document b/.document
index ac7c493..a21694f 100644
--- a/.document
+++ b/.document
@@ -18,11 +18,8 @@ lib
ext

# rdoc files
-ChangeLog
-
-NEWS
-
README.md
README.ja.md

+doc/
doc
diff --git a/doc/.document b/doc/.document
index b48c038..e4a39e0 100644
--- a/doc/.document
+++ b/doc/.document
@@ -1,4 +1,2 @@
*.rdoc
-ChangeLog*
-NEWS-*
syntax
@@ -24,12 +24,14 @@ source=("https://cache.ruby-lang.org/pub/ruby/${pkgver%.*}/${_realname}-${pkgver
0001-mingw-w64-time-functions.patch
0002-use-gnu-printf.patch
0003-fix-check-types.patch
0004-exclude-changelog-from-rdoc.patch
ruby.ico
rubyw.ico)
sha256sums=('440bbbdc49d08d3650f340dccb35986d9399177ad69a204def56e5d3954600cf'
'329994d3bf7e692e18c1faffbedfbd076e5d00257b2100387a773b59b81ccd4e'
'578bd0830fe96efc7656c732ec46b0658fc436a7a30d8945cf3b8240797809f0'
'846d73ad389249c54ff4e009ad2fd4cdbc46714fce25c724bc706b3ec2f2fe3a'
'389236bdca5f283adde9b4b56febcfc25e228716e06a0edc21ea8fd7f27b75fa'
'6c80ba2ca49840e387a08b7fedc6e7acd298ac2ec853155209efb2af20397b22'
'c30fb04ac0e88ba634daaa811a81ea5a75027646617b895acd14df9518a4a55a')

@@ -38,6 +40,7 @@ prepare() {
patch -p1 -i ${srcdir}/0001-mingw-w64-time-functions.patch
patch -p1 -i ${srcdir}/0002-use-gnu-printf.patch
patch -p1 -i ${srcdir}/0003-fix-check-types.patch
patch -p1 -i ${srcdir}/0004-exclude-changelog-from-rdoc.patch

autoreconf -fi
}
@@ -65,6 +65,7 @@ lib/ruby/2.4.0
lib/ruby/gems/2.4.0
lib/ruby/site_ruby/2.4.0
lib/ruby/vendor_ruby/2.4.0
share/doc/ruby/html
share/doc/ruby/html/images/ruby-doc.ico
ssl/cert.pem
ssl/certs/ca-bundle.crt
@@ -65,6 +65,7 @@ lib/ruby/2.4.0
lib/ruby/gems/2.4.0
lib/ruby/site_ruby/2.4.0
lib/ruby/vendor_ruby/2.4.0
share/doc/ruby/html
share/doc/ruby/html/images/ruby-doc.ico
ssl/cert.pem
ssl/certs/ca-bundle.crt
@@ -132,7 +132,6 @@ TheBookofRubyTitle=The Book of Ruby
[Files]
#define InstallerFileList "filelist-ruby-" + RubyVersion + "-" + RubyBuildPlatform + ".iss"
#include InstallerFileList
Source: ../sandbox/ruby-2.4.0/mingw64/share/doc/ruby/*; DestDir: {app}/share/doc/ruby; Excludes: "ChangeLog*"; Flags: recursesubdirs createallsubdirs

[Registry]
; .rb file for admin

0 comments on commit ca359aa

Please sign in to comment.
You can’t perform that action at this time.