File: rules

package info (click to toggle)
node-jsv 4.0.0%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 944 kB
  • ctags: 180
  • sloc: makefile: 17
file content (27 lines) | stat: -rwxr-xr-x 596 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
#!/usr/bin/make -f
# -*- makefile -*-

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

ifndef UPVER
UPVER := $(shell dpkg-parsechangelog | grep ^Version | cut -d\  -f2 | cut -d+ -f1 | cut -d- -f1)
endif

%:
	dh $@

override_dh_install:
	dh_install
	dh_buildinfo

override_dh_installchangelogs:
	dh_installchangelogs CHANGELOG.md

get-orig-source:
	wget http://registry.npmjs.org/JSV/-/JSV-$(UPVER).tgz
	tar xf JSV-$(UPVER).tgz
	rm -rf package/jsdoc-toolkit/
	tar cf node-jsv_$(UPVER)+ds1.orig.tar package/
	gzip -9 node-jsv_$(UPVER)+ds1.orig.tar
	rm -rf package/ JSV-$(UPVER).tgz