File: rules

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

export GEM2DEB_TEST_RUNNER = --check-dependencies
export RELEASE = 1

%:
	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
	rm -fr $(CURDIR)/coverage/