File: rules

package info (click to toggle)
libihelp-ruby 0.4.5-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny, squeeze
  • size: 120 kB
  • ctags: 251
  • sloc: ruby: 1,763; makefile: 9
file content (19 lines) | stat: -rwxr-xr-x 668 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
#
# CDBS file to build the Ruby IHelp package.

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk

# Clean out some arch cruft.
$(patsubst %,install/%,$(DEB_RUBY_REAL_LIB_PACKAGES)) :: install/% :
	for i in $(DEB_RUBY_REAL_LIB_PACKAGES); do find debian/$$i -depth -name .arch-ids -exec rmdir {} \; ; done

# Generate and install RDoc documentation.
install/libihelp-ruby::
	dh_rdoc -p$(cdbs_curpkg)

# Strip .rb from program file names.
install/libihelp-ruby1.8::
	mv -f $(CURDIR)/debian/libihelp-ruby1.8/usr/bin/ihelp_reindex.rb \
	      $(CURDIR)/debian/libihelp-ruby1.8/usr/bin/ihelp_reindex