File tree 3 files changed +15
-0
lines changed
3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,18 @@ tmpBin="contrib/pkginstaller/tmp-bin"
14
14
15
15
binDir=" ${BASEDIR} /root/podman/bin"
16
16
libDir=" ${BASEDIR} /root/podman/lib"
17
+ docDir=" ${BASEDIR} /root/podman/docs/man/man1"
17
18
18
19
version=$( cat " ${BASEDIR} /VERSION" )
19
20
arch=$( cat " ${BASEDIR} /ARCH" )
20
21
21
22
function build_podman() {
22
23
pushd " $1 "
23
24
25
+ make podman-remote-darwin-docs
26
+ mkdir -p " contrib/pkginstaller/out/packaging/${docDir} "
27
+ cp -v docs/build/remote/darwin/* .1 " contrib/pkginstaller/out/packaging/${docDir} "
28
+
24
29
case ${goArch} in
25
30
universal)
26
31
build_fat
Original file line number Diff line number Diff line change @@ -6,3 +6,7 @@ echo "/opt/podman/bin" > /etc/paths.d/podman-pkg
6
6
7
7
# make sure to ignore errors, this is not a hard requirement to use podman
8
8
/opt/podman/bin/podman-mac-helper install || :
9
+
10
+ # Add pointer to podman docs in manpath
11
+ mkdir -p /usr/local/etc/man.d/
12
+ echo " MANPATH /opt/podman/docs/man" > /usr/local/etc/man.d/podman.man.conf
Original file line number Diff line number Diff line change @@ -7,3 +7,9 @@ rm -rf /opt/podman
7
7
if [ ! -d " /etc/paths.d" ]; then
8
8
mkdir -p /etc/paths.d
9
9
fi
10
+
11
+ # Create directory to be able to add podman
12
+ # man pages into the "man" path
13
+ if [ ! -d " /usr/local/etc/man.d" ]; then
14
+ mkdir -p /usr/local/etc/man.d
15
+ fi
You can’t perform that action at this time.
0 commit comments