/core/externals/update-engine/externals/gdata-objectivec-client/Examples/CalendarSample/buildStripHeaders

http://macfuse.googlecode.com/ · Shell · 17 lines · 3 code · 5 blank · 9 comment · 0 complexity · 38b5302dc0e4a662c40b288306a2f6ac MD5 · raw file

  1. #!/bin/sh
  2. #
  3. # buildStripHeaders
  4. #
  5. # Remove header files from the built copy of the framework inside our
  6. # application.
  7. # Strip "*.h" files
  8. find "${BUILD_ROOT}/${CONFIGURATION}/${WRAPPER_NAME}" -iname '*.h' -delete
  9. # Strip "Headers" links
  10. find "${BUILD_ROOT}/${CONFIGURATION}/${WRAPPER_NAME}" -iname 'Headers' -type l -delete
  11. # Strip "Headers" directories
  12. find "${BUILD_ROOT}/${CONFIGURATION}/${WRAPPER_NAME}" -iname 'Headers' -type d -prune -delete