File: rules

package info (click to toggle)
node-react-transition-group 4.4.5%2B~cs4.4.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,388 kB
  • sloc: javascript: 15,360; makefile: 12
file content (21 lines) | stat: -rwxr-xr-x 553 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f
# -*- makefile -*-

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

%:
	dh $@ --with=nodejs --buildsystem=nodejs

override_dh_auto_build:
	babeljs src --out-dir lib/cjs
	BABEL_ENV=esm babeljs src --out-dir lib/esm
	BABEL_ENV=esm rollup -c

override_dh_install:
	dh_install -O--buildsystem=nodejs
	find debian/node-react-transition-group -type f -executable -print0 | xargs -0r chmod -x

override_dh_installexamples:
	dh_installexamples
	find debian/node-react-transition-group/usr/share/doc -type f -name '.*' -delete