File: rules

package info (click to toggle)
yaggo 1.5.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 316 kB
  • sloc: ruby: 2,943; sh: 94; cpp: 39; makefile: 34
file content (16 lines) | stat: -rwxr-xr-x 373 bytes parent folder | download | duplicates (2)
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
export DH_RUBY = --gem-install

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

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	cd test && $(MAKE) && $(MAKE) clean && rm -f _count
endif

override_dh_fixperms:
	dh_fixperms
	find debian -name create_yaggo_one_file -exec chmod +x \{\} \;