File: rules

package info (click to toggle)
ruby-leaflet-rails 1.6.0%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 984 kB
  • sloc: ruby: 381; sh: 43; makefile: 9
file content (14 lines) | stat: -rwxr-xr-x 346 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export GEM2DEB_TEST_RUNNER = --check-dependencies
export DH_RUBY = --gem-install

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

execute_before_dh_auto_build:
	mkdir -p vendor/assets/javascripts
	cp /usr/share/javascript/leaflet/leaflet.js vendor/assets/javascripts/leaflet-src.js.erb

execute_after_dh_install:
	debian/symlink-js