File: rules

package info (click to toggle)
ruby-rails-3.2 3.2.6-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 48 kB
  • sloc: makefile: 7
file content (12 lines) | stat: -rwxr-xr-x 276 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

RAILS_VERSION=$(shell sed -n "s/^  version: //p" metadata.yml)

%:
	dh $@ --buildsystem=ruby --with ruby

override_dh_testdir: debian/control
	dh_testdir

debian/control: debian/control.in metadata.yml
	sed -e "s/@RAILS_VERSION@/$(RAILS_VERSION)/" >$@ <$<