]>
git.saurik.com Git - apple/libresolv.git/blob - xcodescripts/manpages.sh
4 # don't install man pages for installhdrs, installapi, or iOS builds
5 if [ "$ACTION" = installapi
]; then exit 0; fi
6 if [ "$ACTION" = installhdrs
]; then exit 0; fi
7 if [ "${PLATFORM_NAME}" != "macosx" ]; then exit 0; fi
9 MANDIR
="$DSTROOT"/usr
/share
/man
11 install -d -m 0755 -o "$INSTALL_OWNER" -g "$INSTALL_GROUP" \
15 install -c -m 0644 -o "$INSTALL_OWNER" -g "$INSTALL_GROUP" \
16 "$SRCROOT"/resolver
.3 \
19 install -c -m 0644 -o "$INSTALL_OWNER" -g "$INSTALL_GROUP" \
20 "$SRCROOT"/resolver
.5 \
24 echo "Install man pages..."
39 echo ".so man3/resolver.3" > "$MANDIR"/man
3/"$M"
40 chown
"$INSTALL_OWNER:$INSTALL_GROUP" "$MANDIR"/man
3/"$M"
41 chmod 0644 "$MANDIR"/man
3/"$M"