File: rules

package info (click to toggle)
node-rollup-pluginutils 5.0.2~ds%2B~2.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,356 kB
  • sloc: javascript: 317; makefile: 12
file content (18 lines) | stat: -rwxr-xr-x 429 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:
	# Build legacy module
	dh_auto_build --buildsystem=nodejs
	# Build @rollup/pluginutils
	cd packages/pluginutils; if rollup -c; then \
		echo "build succeeds"; \
	else \
		echo "build failed, trying with legacy rollup plugins"; \
		rollup -c ../../debian/rollup-legacy.config.js; \
	fi

override_dh_installchangelogs:
	dh_installchangelogs packages/pluginutils/CHANGELOG.md