File: rules

package info (click to toggle)
ruby-escape 0.2-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 376 kB
  • ctags: 109
  • sloc: ruby: 288; makefile: 14
file content (16 lines) | stat: -rwxr-xr-x 351 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export GEM2DEB_TEST_RUNNER = --check-dependencies

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

# move escape.rb into lib on buildtime, because gem2deb needs lib/
override_dh_auto_configure:
	mkdir lib
	cp escape.rb lib/
	dh_auto_configure -O--buildsystem=ruby

override_dh_auto_clean:
	rm -rf lib
	dh_auto_clean -O--buildsystem=ruby