File: rules

package info (click to toggle)
ruby-gettext 3.3.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 6,424 kB
  • sloc: ruby: 9,643; makefile: 8
file content (15 lines) | stat: -rwxr-xr-x 416 bytes parent folder | download | duplicates (5)
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
	LANG= LANGUAGE= LC_ALL= dh_auto_install

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