aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Richard Brown <rbrown@exherbo.org> 2007-11-13 18:07:21 +0000
committerAvatar Richard Brown <rbrown@exherbo.org> 2007-11-13 18:07:21 +0000
commit3fbf2ecd6835960ff0497ce952ee5f0b7f08acb0 (patch)
treed67ffe98545b236f62458b12168f7641b718e511
parent9d6f96e9dd84cd683017c554c8d878ba6de10129 (diff)
downloadpaludis-3fbf2ecd6835960ff0497ce952ee5f0b7f08acb0.tar.gz
paludis-3fbf2ecd6835960ff0497ce952ee5f0b7f08acb0.tar.xz
(ruby) Fix automake for ruby docs.
-rw-r--r--doc/api/ruby/Makefile.am14
1 files changed, 6 insertions, 8 deletions
diff --git a/doc/api/ruby/Makefile.am b/doc/api/ruby/Makefile.am
index df6461b..fd35bb5 100644
--- a/doc/api/ruby/Makefile.am
+++ b/doc/api/ruby/Makefile.am
@@ -37,19 +37,17 @@ EXTRA_DIST = $(examples) \
if ENABLE_RUBY
-all-local : ruby
+all-local : rdoc
-ruby : rdoc examples
+rdoc : ruby
-examples : rdoc $(examples)
- $(RUBY) $(srcdir)/create_ruby_examples.rb $(srcdir) $(examples)
- cp $(srcdir)/ruby_syntax.css ruby
-
-rdoc : create_ruby_doc.rb
- rm -rf ruby
+ruby : create_ruby_doc.rb create_ruby_examples.rb ruby_syntax.css $(examples)
+ rm -fr ruby
env TOP_SRCDIR="$(top_srcdir)" $(RUBY) \
$(srcdir)/create_ruby_doc.rb -t "Paludis Ruby API" -m Paludis --op ruby \
$(top_srcdir)/ruby/*.cc
+ $(RUBY) $(srcdir)/create_ruby_examples.rb $(srcdir) $(examples)
+ cp $(srcdir)/ruby_syntax.css ruby
install-data-local :
mkdir -p $(DESTDIR)$(htmldir)/api