[Pkg-ruby-extras-maintainers] r753 - packages/libinline-ruby/trunk/debian

Lucas Nussbaum lucas at lucas-nussbaum.net
Tue Aug 8 20:16:57 UTC 2006


> Modified: packages/libinline-ruby/trunk/debian/rules
> ===================================================================
> --- packages/libinline-ruby/trunk/debian/rules	2006-08-08 19:44:21 UTC (rev 752)
> +++ packages/libinline-ruby/trunk/debian/rules	2006-08-08 19:47:22 UTC (rev 753)
> @@ -17,14 +17,11 @@
>  	dh_testdir
>  	dh_testroot
>  	dh_clean -k
> -	dh_installdirs --all
> +	dh_installdirs
>  
> -	dh_installexamples --all $(CURDIR)/debian/helloworld_example.rb
> -	dh_installdocs --all $(CURDIR)/README.txt
> -	dh_installdocs --all $(CURDIR)/debian/README.Debian
>  	mkdir -p $(CURDIR)/debian/libinline-ruby1.8/usr/lib/ruby/1.8/
>  	cp inline.rb `pwd`/debian/libinline-ruby1.8/usr/lib/ruby/1.8/	
> -
> +	

While doing dh_* calls manually in debian/rules is interesting for
learning purposes, you could use the cdbs debhelper class, with

  include /usr/share/cdbs/1/rules/debhelper.mk

It would call dh_* for you, and then you would make the changes you want
by adding files in debian/. See the CDBS documentation[0] for details.

[0] https://perso.duckcorp.org/duck/cdbs-doc/cdbs-doc.xhtml

Lucas



More information about the pkg-ruby-extras-maintainers mailing list