File: rules

package info (click to toggle)
node-bluebird 3.7.2%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,964 kB
  • sloc: javascript: 31,857; sh: 83; makefile: 8
file content (19 lines) | stat: -rwxr-xr-x 486 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
# -*- makefile -*-

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

%:
	dh $@

override_dh_installchangelogs:
	dh_installchangelogs changelog.md

override_dh_auto_build:
	# Bluebird depends on itself to build. Therefore we need to copy a
	# prebuilt version of Bluebird into place to bootstrap things in
	# Debian.
	cp -r $(CURDIR)/debian/node-modules/ $(CURDIR)/node_modules/
	node tools/build.js --release --no-minify
	rm -r $(CURDIR)/node_modules/