File: rules

package info (click to toggle)
node-jss 10.10.1%2Bds1%2B~0.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,112 kB
  • sloc: javascript: 29,755; makefile: 17
file content (28 lines) | stat: -rwxr-xr-x 641 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
22
23
24
25
26
27
28
#!/usr/bin/make -f
# -*- makefile -*-

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

include /usr/share/dpkg/pkg-info.mk

%:
	dh $@

override_dh_auto_build:
	dh_auto_build --buildsystem=nodejs
	set -e; for p in packages/*/; do \
		echo "Compiling $$p"; \
		(cd $$p && rollup -c ../../rollup.config.js); \
	done

override_dh_installdocs:
	dh_installdocs
	dh_nodejs_autodocs auto_dispatch

# Fix versions and homepage of components
override_dh_gencontrol:
	dh_gencontrol
	dh_gencontrol -pnode-css-initials -- \
		-v$(shell pkgjs-pjson css-initials version)~$(DEB_VERSION) \
		-DHomepage=https://github.com/iamstarkov/initize