File: rules

package info (click to toggle)
ruby-markdown-it-html5-embed 1.0.0%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 72 kB
  • sloc: sh: 45; makefile: 10; ruby: 4
file content (15 lines) | stat: -rwxr-xr-x 397 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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 lib/assets/javascripts
	cp /usr/share/javascript/markdown-it-html5-embed/markdown-it-html5-embed.js lib/assets/javascripts/markdown-it-html5-embed.js
	dh_auto_install

execute_after_dh_install:
	debian/symlink-js