File: Makefile

package info (click to toggle)
queue-async 1.0.7-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 128 kB
  • ctags: 22
  • sloc: makefile: 34
file content (25 lines) | stat: -rw-r--r-- 388 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
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