Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This includes changes to make the b_alias, b_basename, and builtins unit tests pass in light of the previous changes.
- Loading branch information
1 parent
d0f92b4
commit f4c1514
Showing
12 changed files
with
81 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/bin/sh | ||
# | ||
# Do installation steps that are hard to do via the standard Meson function | ||
# (e.g., `install_subdir()`). | ||
# | ||
ksh_aux_dir="$MESON_INSTALL_PREFIX/share/ksh" | ||
ksh_man_dir="$ksh_aux_dir/man" | ||
ksh_man_src="$MESON_SOURCE_ROOT/src/cmd/ksh93/docs" | ||
umask 022 | ||
|
||
set -x | ||
cd "$ksh_man_src" | ||
|
||
# At some point we'll want to uncomment this statement. Probably after we've | ||
# converted all the documentation to Sphinx format. At that point we'll want | ||
# to stop committing the `make man` artifacts when the docs are changed. | ||
# Instead, require that be done at install time. | ||
# | ||
# Note: I can't figure out how to make Sphinx `make man` emit the | ||
# documentation in the expected hierachy under the _build dir. Since we | ||
# currently only care about section one (i.e., command) documentation force it | ||
# to be installed in that directory. | ||
# | ||
# make man | ||
|
||
mkdir -p -m 755 "$ksh_man_dir/man1" | ||
cp _build/man/*.1 "$ksh_man_dir/man1" | ||
|
||
# Old versions of Meson (e.g., 0.44) don't recognize the `install_mode` option | ||
# of functions like `install_subdir()` and don't use sensible default | ||
# permissions (e.g., no public read/execute). So try to ensure all the aux | ||
# files have reasonable permissions. | ||
find "$ksh_aux_dir" -type d -print0 | xargs -0 chmod 755 | ||
find "$ksh_aux_dir" -type f -print0 | xargs -0 chmod 644 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters