diff options
author | Eric Wong <e@80x24.org> | 2016-02-14 09:33:34 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-02-14 11:26:22 +0000 |
commit | 4ef59c7e5e49a21fdad0c3d6e3d78bf717c0e7e5 (patch) | |
tree | 56666d7d1440db0e0a40d4440357c9b723f9b3a5 /Rakefile | |
parent | 631c3b6fd3e0b944b900d181cb51a8c847c14c09 (diff) | |
download | yahns-4ef59c7e5e49a21fdad0c3d6e3d78bf717c0e7e5.tar.gz |
pod2man(1) and pod2text(1) are already installed on most modern GNU/Linix systems including Debian and RedHat-based systems; pandoc(1) and Haskell are not, and we do not wish to waste precious bandwidth and disk space of potential packagers. perlpod(1) is also better standardized than any Markdown flavor, especially when it comes to generating manpages. Finally, I'm mildly proficient at Perl (it is similar to Ruby) and can poke around at the source if I encounter breakage.
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -12,6 +12,8 @@ task rsync_docs: gendocs do # Also available at: http://yhbt.net/git-set-file-times # on Debian systems: /usr/share/doc/rsync/scripts/git-set-file-times.gz sh("git", "set-file-times", "Documentation", "examples", *top) + make = ENV['MAKE'] || 'make' + sh(%Q(#{make} -C Documentation)) do_gzip = lambda do |txt| gz = "#{txt}.gz" @@ -26,6 +28,9 @@ task rsync_docs: gendocs do files = `git ls-files Documentation/*.txt`.split(/\n/) files.concat(top) files.concat(gendocs) + files.concat(%w(yahns yahns-rackup yahns_config).map! { |x| + "Documentation/#{x}.txt" + }) gzfiles = files.map { |txt| do_gzip.call(txt) } files.concat(gzfiles) |