File: rules

package info (click to toggle)
ruby-gettext 3.0.2-2~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 4,728 kB
  • sloc: ruby: 7,977; makefile: 8
file content (15 lines) | stat: -rwxr-xr-x 392 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

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

override_dh_auto_install:
	# force rebuilding lib/gettext/po_parser.rb from source
	touch src/po_parser.ry
	# avoid rebuilding samples/**/*.mo though
	find samples/ -name '*.mo' -exec touch '{}' ';'
	# do the usual thing
	dh_auto_install

override_dh_installchangelogs:
	dh_installchangelogs doc/text/news.md -O--buildsystem=ruby