File: rules

package info (click to toggle)
nadoka 0.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 492 kB
  • sloc: ruby: 3,154; makefile: 8; sh: 1
file content (11 lines) | stat: -rwxr-xr-x 471 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/make -f
DH_VERBOSE=1

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

override_dh_auto_install:
	install -m 0755 $(CURDIR)/debian/nadoka.sh $(CURDIR)/debian/nadoka/usr/bin/nadoka
	cp -a *.rb lib ndk plugins rice $(CURDIR)/debian/nadoka/usr/share/nadoka
	find $(CURDIR)/debian/nadoka/usr/share/nadoka -name '*.[nr]b' | xargs chmod ugo-x
	perl -npe "s!'./plugins'!'/usr/share/nadoka/plugins'!" nadokarc > $(CURDIR)/debian/nadoka/usr/share/doc/nadoka/examples/nadokarc