Skip to content

Commit

Permalink
Add docs to dist bundle / fix incorrect build filename
Browse files Browse the repository at this point in the history
  • Loading branch information
gasman committed Apr 11, 2016
1 parent 6fa00ef commit cdd7712
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ DIST_FILES=\
dist/cowbell/vtx.min.js \
dist/cowbell/zx.min.js \
dist/cowbell/libopenmpt.js \
dist/cowbell/openmpt_player.js
dist/cowbell/openmpt.min.js \
dist/doc/api.md \
dist/doc/usage.md \
dist/doc/LICENSE

.PHONY: all
all: $(DIST_FILES)
Expand Down Expand Up @@ -46,6 +49,18 @@ dist/cowbell/openmpt_player.js: cowbell/openmpt/openmpt_player.js
--js=cowbell/openmpt/openmpt_player.js \
--js_output_file=dist/cowbell/openmpt.min.js

dist/doc/api.md: doc/api.md
mkdir -p dist/doc/
cp doc/api.md dist/doc/api.md

dist/doc/usage.md: doc/usage.md
mkdir -p dist/doc/
cp doc/usage.md dist/doc/usage.md

dist/doc/LICENSE: LICENSE
mkdir -p dist/doc/
cp LICENSE dist/doc/LICENSE

build/z80.js: cowbell/zx_spectrum/z80.coffee
mkdir -p build
coffee -c -o build/ cowbell/zx_spectrum/z80.coffee
Expand Down

0 comments on commit cdd7712

Please sign in to comment.