File: rules

package info (click to toggle)
impress.js 1.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 4,524 kB
  • sloc: javascript: 5,802; makefile: 7
file content (19 lines) | stat: -rwxr-xr-x 414 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
export DH_VERBOSE=1

# With v1.0.0, We need a compressor that is compatible with ES6+
# js-compressor := $(or $(notdir $(shell which uglifyjs)),yui-compressor)
js-compressor := terser
# lib = impress
# jspkg = libjs-$(lib)
# js-stems = $(lib)
# js-min = $(js-stems:%=debian/%.min.js)

#

%:
	dh $@

override_dh_auto_build:
	dh_auto_build
	$(js-compressor) -o debian/impress.min.js js/impress.js