[DRE-commits] r2523 - packages-wip/libferret-ruby/trunk/debian

terceiro-guest at alioth.debian.org terceiro-guest at alioth.debian.org
Tue Mar 18 03:35:24 UTC 2008


Author: terceiro-guest
Date: 2008-03-18 03:35:24 +0000 (Tue, 18 Mar 2008)
New Revision: 2523

Modified:
   packages-wip/libferret-ruby/trunk/debian/libferret-ruby1.8.install
   packages-wip/libferret-ruby/trunk/debian/rules
Log:
installing templates and static files into the right place. Creating symlinks
in /usr/lib/ruby/1.8/ferret/browser so it is not needed to patch upstream
source



Modified: packages-wip/libferret-ruby/trunk/debian/libferret-ruby1.8.install
===================================================================
--- packages-wip/libferret-ruby/trunk/debian/libferret-ruby1.8.install	2008-03-15 20:44:02 UTC (rev 2522)
+++ packages-wip/libferret-ruby/trunk/debian/libferret-ruby1.8.install	2008-03-18 03:35:24 UTC (rev 2523)
@@ -1,12 +1,2 @@
-lib/ferret/browser/views/layout.rhtml                 usr/lib/ruby/1.8/ferret/browser/views/
-lib/ferret/browser/views/term/index.rhtml             usr/lib/ruby/1.8/ferret/browser/views/term/
-lib/ferret/browser/views/term/termdocs.rhtml          usr/lib/ruby/1.8/ferret/browser/views/term/
-lib/ferret/browser/views/home/index.rhtml             usr/lib/ruby/1.8/ferret/browser/views/home/
-lib/ferret/browser/views/help/index.rhtml             usr/lib/ruby/1.8/ferret/browser/views/help/
-lib/ferret/browser/views/document/list.rhtml          usr/lib/ruby/1.8/ferret/browser/views/document/
-lib/ferret/browser/views/document/show.rhtml          usr/lib/ruby/1.8/ferret/browser/views/document/
-lib/ferret/browser/views/error/index.rhtml            usr/lib/ruby/1.8/ferret/browser/views/error/
-lib/ferret/browser/views/term-vector/index.rhtml      usr/lib/ruby/1.8/ferret/browser/views/term-vector/
-lib/ferret/browser/s/style.css                        usr/lib/ruby/1.8/ferret/browser/s/
-lib/ferret/browser/s/global.js                        usr/lib/ruby/1.8/ferret/browser/s/
-
+lib/ferret/browser/views        usr/share/ferret/browser/
+lib/ferret/browser/s            usr/share/ferret/browser/

Modified: packages-wip/libferret-ruby/trunk/debian/rules
===================================================================
--- packages-wip/libferret-ruby/trunk/debian/rules	2008-03-15 20:44:02 UTC (rev 2522)
+++ packages-wip/libferret-ruby/trunk/debian/rules	2008-03-18 03:35:24 UTC (rev 2523)
@@ -5,3 +5,11 @@
 
 install/libferret-ruby::
 	dh_rdoc -p $(cdbs_curpkg)
+
+install/libferret-ruby1.8::
+	# remove empty dirs installed as if they belonged into lib dir
+	rm -rf $(CURDIR)/debian/$(cdbs_curpkg)/usr/lib/ruby/1.8/ferret/browser/views
+	rm -rf $(CURDIR)/debian/$(cdbs_curpkg)/usr/lib/ruby/1.8/ferret/browser/s
+	
+	dh_link -p $(cdbs_curpkg) usr/share/ferret/browser/views usr/lib/ruby/1.8/ferret/browser/views
+	dh_link -p $(cdbs_curpkg) usr/share/ferret/browser/s     usr/lib/ruby/1.8/ferret/browser/s




More information about the Pkg-ruby-extras-commits mailing list