]> git.saurik.com Git - apple/libc.git/blobdiff - xcodescripts/manpages.sh
Libc-1272.200.26.tar.gz
[apple/libc.git] / xcodescripts / manpages.sh
old mode 100644 (file)
new mode 100755 (executable)
index 4e95226..32054df
@@ -1,8 +1,8 @@
 #!/bin/bash -e
 
 if [ "$ACTION" = installhdrs ]; then exit 0; fi
 #!/bin/bash -e
 
 if [ "$ACTION" = installhdrs ]; then exit 0; fi
-if [ "$PLATFORM_NAME" = iphoneos ]; then exit 0; fi
-if [ "$PLATFORM_NAME" = iphonesimulator ]; then exit 0; fi
+if [ "${PLATFORM_NAME}" != "macosx" ]; then exit 0; fi
+if [ "${SKIP_MANPAGES}" = "YES" ]; then exit 0; fi
 
 UNIFDEF_FLAGS=`${SRCROOT}/xcodescripts/generate_features.pl --unifdef`
 MANPAGES_LIST="${SRCROOT}/man/manpages.lst"
 
 UNIFDEF_FLAGS=`${SRCROOT}/xcodescripts/generate_features.pl --unifdef`
 MANPAGES_LIST="${SRCROOT}/man/manpages.lst"