1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk
manpages := debian/rt*.1
DEB_COMPRESS_EXCLUDE := .rd .html
DEB_DH_INSTALLCHANGELOGS_ALL := -k
DEB_INSTALL_DOCS_ALL := rttool.ja.html rttool.en.html rttool.ja.rd rttool.en.rd
DEB_INSTALL_EXAMPLES_rttool := examples/*
DEB_RUBY_CONFIG_ARGS := --installdirs=std --shebang=never
# Add here any variable or target overrides you need.
build/rttool::
rd2 -r rd/rd2man-lib.rb bin/rt/rt2 > debian/rt2.1
install/librt-ruby1.8::
rm -rf $(CURDIR)/debian/librt-ruby1.8/usr/bin
rm -rf $(CURDIR)/debian/librt-ruby1.8/usr/lib/ruby/1.8/PATHCONV
install/rttool::
install -d $(CURDIR)/debian/rttool/usr/bin
install -m755 bin/rt/rt2 $(CURDIR)/debian/rttool/usr/bin/
install -d $(CURDIR)/debian/rttool/usr/share/man/man1
install -m664 debian/rt2.1 debian/rttool/usr/share/man/man1/
clean::
rm -f debian/*.1
|