File: rules

package info (click to toggle)
node-babel-loader 8.2.2-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,552 kB
  • sloc: javascript: 1,597; makefile: 8
file content (16 lines) | stat: -rwxr-xr-x 279 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@

override_dh_auto_build:
	babeljs src -d lib --no-babelrc --copy-files
	sed -i '1s/^/"use strict";\n\n/' lib/*.js

override_dh_auto_clean:
	rm -rf lib
	dh_auto_clean