Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.

Commit

Permalink
fix(build): make sure changelog and license are copied to bin
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Jul 9, 2017
1 parent c3e56e9 commit 4fbb599
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
bin: bin/README.md bin/npx.1 bin/package.json bin/node_modules
text-files = README.md CHANGELOG.md LICENSE.md

bin/README.md: README.md
cp $< $@
bin: bin/npx.1 bin/package.json bin/node_modules $(text-files)

bin/%: $(text-files)
cp $(text-files) bin/

bin/npx.1: libnpx.1
cat $< | sed s/libnpx/npx/ > $@
Expand Down

0 comments on commit 4fbb599

Please sign in to comment.