Description: set templates path to /usr/share/yard/templates
 Put a relative path instead of an absolute one makes also the tests happy
Author: Lucas Nussbaum <lucas@debian.org>
Last-Update: 2012-05-03

--- a/lib/yard/templates/engine.rb
+++ b/lib/yard/templates/engine.rb
@@ -181,5 +181,7 @@
     end
 
     Engine.register_template_path(File.join(YARD::ROOT, '..', 'templates'))
+    # add /usr/share/yard/templates
+    Engine.register_template_path(File.join(YARD::ROOT, '../../../', 'share/yard/templates'))
   end
 end
