[DRE-commits] [SCM] ruby-rmagick.git branch, master, updated. 8f9061a6d7efdf721cb3a53f54a46536822d3825

Vincent Fourmond fourmond at debian.org
Tue Jun 7 00:18:54 UTC 2011


The following commit has been merged in the master branch:
commit fdcbc3e68bef97be14b381d2f50ab3ab53ed9a3d
Author: Vincent Fourmond <fourmond at debian.org>
Date:   Tue Jun 7 01:40:10 2011 +0200

    Move the documentation to the html/ directory, and not into a RMagick subdirectory of the former

diff --git a/debian/rules b/debian/rules
index 1239827..9f44ee5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,9 +19,10 @@ override_dh_clean:
 	# Remove unneeded files created during the build process
 	rm -f ext/RMagick/mkmf.log *.miff *.gif *.png
 
-target_doc_dir = debian/ruby-rmagick-doc/usr/share/doc/ruby-rmagick-doc/html
+target_doc_dir = debian/ruby-rmagick-doc/usr/share/doc/ruby-rmagick-doc
 override_dh_auto_install:
 	dh_auto_install
 # Then, we move the documentation to its proper package
+# Not very elegant, but effective
 	mkdir -p $(target_doc_dir)
-	mv debian/ruby-rmagick/usr/share/RMagick $(target_doc_dir)
+	mv debian/ruby-rmagick/usr/share/RMagick $(target_doc_dir)/html

-- 
ruby-rmagick.git



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