File: rules

package info (click to toggle)
coderay 1.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,108 kB
  • sloc: ruby: 9,886; makefile: 12; sh: 4; python: 1
file content (18 lines) | stat: -rwxr-xr-x 419 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export GEM2DEB_TEST_RUNNER = --check-dependencies

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

override_dh_auto_install:
	dh_auto_install
	mkdir -p debian/coderay/usr/bin
	mv debian/ruby-coderay/usr/bin/* debian/coderay/usr/bin/
	rmdir debian/ruby-coderay/usr/bin

override_dh_auto_clean:
	dh_auto_clean
	rm -f $(CURDIR)/test/executable/source.rb.html
	rm -f $(CURDIR)/test/executable/source.rb.json