From 4fbb5992cdd1ca30ed1ecbd4d65a6dd824e2a1c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Sun, 9 Jul 2017 01:15:08 -0700 Subject: [PATCH] fix(build): make sure changelog and license are copied to bin --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3ba2e0d..fbe6b0e 100644 --- a/Makefile +++ b/Makefile @@ -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/ > $@