Skip to content

Commit 7add111

Browse files
committed
Add package.json prerequisites.
1 parent 2dc9043 commit 7add111

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ src/format/format-localized.js: src/locale.js src/format/format-locale.js
2121
src/time/format-localized.js: src/locale.js src/time/format-locale.js
2222
LC_TIME=$(LOCALE) locale -ck LC_TIME | node src/locale.js src/time/format-locale.js > $@
2323

24-
d3.js: $(shell node_modules/.bin/smash --list src/d3.js)
24+
d3.js: $(shell node_modules/.bin/smash --list src/d3.js) package.json
2525
@rm -f $@
2626
node_modules/.bin/smash src/d3.js \
2727
| sed 's/[[:<:]]VERSION[[:>:]]/"$(shell ./version)"/' \
@@ -32,7 +32,7 @@ d3.min.js: d3.js
3232
@rm -f $@
3333
node_modules/.bin/uglifyjs $< -c -m -o $@
3434

35-
component.json: src/component.js d3.js
35+
component.json: src/component.js d3.js package.json
3636
@rm -f $@
3737
node src/component.js > $@
3838
@chmod a-w $@

0 commit comments

Comments
 (0)