File: rules

package info (click to toggle)
macaulay2-jupyter-kernel 0.6.7~beta-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, trixie
  • size: 3,492 kB
  • sloc: python: 21,611; javascript: 51; makefile: 9
file content (13 lines) | stat: -rwxr-xr-x 351 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

%:
	dh $@ --with python3 --buildsystem=pybuild

execute_after_dh_auto_install: debian/macaulay2.js
	python3 -m m2_kernel.install \
		--prefix debian/macaulay2-jupyter-kernel/usr
	dh_install debian/macaulay2.js \
		usr/share/javascript/codemirror/mode/macaulay2/

debian/macaulay2.js:
	cd debian && M2 --script make-macaulay2-js.m2