File: Makefile

package info (click to toggle)
queue-async 1.0.7-2
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 152 kB
  • sloc: javascript: 481; makefile: 22
file content (25 lines) | stat: -rw-r--r-- 388 bytes parent folder | download | duplicates (2)
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
all: \
	queue.min.js \
	component.json \
	package.json

component.json: src/component.js queue.js
	@rm -f $@
	nodejs src/component.js > $@
	@chmod a-w $@

package.json: src/package.js queue.js
	@rm -f $@
	nodejs src/package.js > $@
	@chmod a-w $@

test: all
	vows
	@echo

%.min.js: %.js Makefile
	@rm -f $@
	uglifyjs -o $@ $< -c -m

clean:
	rm -f queue.min.js component.json package.json