/Source/externals/GData/Examples/BooksSample/buildStripHeaders
http://google-email-uploader-mac.googlecode.com/ · Shell · 17 lines · 3 code · 5 blank · 9 comment · 0 complexity · 38b5302dc0e4a662c40b288306a2f6ac MD5 · raw file
- #!/bin/sh
- #
- # buildStripHeaders
- #
- # Remove header files from the built copy of the framework inside our
- # application.
- # Strip "*.h" files
- find "${BUILD_ROOT}/${CONFIGURATION}/${WRAPPER_NAME}" -iname '*.h' -delete
- # Strip "Headers" links
- find "${BUILD_ROOT}/${CONFIGURATION}/${WRAPPER_NAME}" -iname 'Headers' -type l -delete
- # Strip "Headers" directories
- find "${BUILD_ROOT}/${CONFIGURATION}/${WRAPPER_NAME}" -iname 'Headers' -type d -prune -delete