File: rules

package info (click to toggle)
libbarby-ruby 0.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 452 kB
  • ctags: 503
  • sloc: ruby: 2,794; java: 1,228; makefile: 8
file content (18 lines) | stat: -rwxr-xr-x 626 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk
BUILDDIR=./debian/libbarby-ruby1.8

install/libbarby-ruby1.8::
	# Exclude the sample binary /usr/bin/barby - it is not really useful,
	# and it is mostly buggy.
	rm -r $(BUILDDIR)/usr/bin
	# Exclude PDF417 functionality, as it requires JRuby
	rm $(BUILDDIR)/usr/lib/ruby/1.8/barby/barcode/pdf_417.rb

clean::
	# Gems are packaged with a variant of tar which disregards
	# timestamps, leaving us with 1969 timestamps... So, touch all
	# of the files over 10 years old
	find . -mtime +3650 | xargs touch