mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-11-28 02:23:44 +03:00
[ install ] Fix install-libdocs
makefile target
On some systems, `/bin/sh` is a symlink to a minimal shell (e.g. `dash`) that doesn't understand bashisms like `mkdir -p some_dir/{one,two,three}`.
This commit is contained in:
parent
44328d73de
commit
304c0e666d
6
Makefile
6
Makefile
@ -209,7 +209,11 @@ install-with-src-libs:
|
||||
${MAKE} -C libs/test install-with-src IDRIS2?=${TARGET} IDRIS2_PATH=${IDRIS2_BOOT_PATH}
|
||||
|
||||
install-libdocs: libdocs
|
||||
mkdir -p ${PREFIX}/${NAME_VERSION}/docs/{prelude,base,contrib,network,test}
|
||||
mkdir -p ${PREFIX}/${NAME_VERSION}/docs/prelude
|
||||
mkdir -p ${PREFIX}/${NAME_VERSION}/docs/base
|
||||
mkdir -p ${PREFIX}/${NAME_VERSION}/docs/contrib
|
||||
mkdir -p ${PREFIX}/${NAME_VERSION}/docs/network
|
||||
mkdir -p ${PREFIX}/${NAME_VERSION}/docs/test
|
||||
cp -r libs/prelude/build/docs/* ${PREFIX}/${NAME_VERSION}/docs/prelude
|
||||
cp -r libs/base/build/docs/* ${PREFIX}/${NAME_VERSION}/docs/base
|
||||
cp -r libs/contrib/build/docs/* ${PREFIX}/${NAME_VERSION}/docs/contrib
|
||||
|
Loading…
Reference in New Issue
Block a user