File: rules

package info (click to toggle)
node-chart.js 2.9.4%2Bdfsg%2B~cs2.10.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 7,500 kB
  • sloc: javascript: 38,041; sh: 67; makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 404 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
# -*- makefile -*-

TMP     = $(CURDIR)/debian/tmp

%:
	dh $@

override_dh_auto_build:
	rollup  -c rollup.config.js
	cp src/platforms/platform.dom.css dist/Chart.css
	./debian/minify >dist/Chart.min.css

override_dh_auto_install:
	dh_auto_install --buildsystem=nodejs
	mkdir -p $(TMP)/usr/share/javascript
	mv $(TMP)/usr/share/nodejs/chart.js/dist $(TMP)/usr/share/javascript/chart.js