Browse Source

Fix make_dist script to use dist-files

v1.0-maintenance
Sami Vaarala 10 years ago
parent
commit
83a8ff9d19
  1. 12
      util/make_dist.sh

12
util/make_dist.sh

@ -198,7 +198,6 @@ done
for i in \ for i in \
README.txt \ README.txt \
Makefile \
duk_cmdline.c \ duk_cmdline.c \
; do ; do
cp examples/cmdline/$i $DIST/examples/cmdline/ cp examples/cmdline/$i $DIST/examples/cmdline/
@ -206,7 +205,6 @@ done
for i in \ for i in \
README.txt \ README.txt \
Makefile \
c_eventloop.c \ c_eventloop.c \
c_eventloop.js \ c_eventloop.js \
ecma_eventloop.js \ ecma_eventloop.js \
@ -225,7 +223,6 @@ done
for i in \ for i in \
README.txt \ README.txt \
Makefile \
hello.c \ hello.c \
; do ; do
cp examples/hello/$i $DIST/examples/hello/ cp examples/hello/$i $DIST/examples/hello/
@ -233,7 +230,6 @@ done
for i in \ for i in \
README.txt \ README.txt \
Makefile \
eval.c \ eval.c \
; do ; do
cp examples/eval/$i $DIST/examples/eval/ cp examples/eval/$i $DIST/examples/eval/
@ -262,13 +258,15 @@ for i in \
done done
for i in \ for i in \
Makefile.example \
Makefile.cmdline \ Makefile.cmdline \
Makefile.eventloop \
Makefile.hello \
Makefile.eval \
; do ; do
cp examples/$i $DIST/ cp dist-files/$i $DIST/
done done
cat README.txt.dist | sed \ cat dist-files/README.txt | sed \
-e "s/@DUK_VERSION_FORMATTED@/$DUK_VERSION_FORMATTED/" \ -e "s/@DUK_VERSION_FORMATTED@/$DUK_VERSION_FORMATTED/" \
-e "s/@GIT_COMMIT@/$GIT_COMMIT/" \ -e "s/@GIT_COMMIT@/$GIT_COMMIT/" \
-e "s/@GIT_DESCRIBE@/$GIT_DESCRIBE/" \ -e "s/@GIT_DESCRIBE@/$GIT_DESCRIBE/" \

Loading…
Cancel
Save