File: rules

package info (click to toggle)
node-react-highlighter 0.4.3%2Brepack2%2B~0.3.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 300 kB
  • sloc: javascript: 382; makefile: 7
file content (15 lines) | stat: -rwxr-xr-x 346 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f
# -*- makefile -*-

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

PKGVERSION=$(shell pkgjs-pjson . version)

%:
	dh $@ --with=nodejs

override_dh_auto_build:
	webpack
	ln -s ReactHighlighter-v$(PKGVERSION).js dist/ReactHighlighter.js
	ln -s ReactHighlighter-v$(PKGVERSION).min.js dist/ReactHighlighter.min.js