Cross-Platform build scripts for audio plugins
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.0KB

  1. #!/bin/bash
  2. set -e
  3. cd $(dirname ${0})
  4. PAWPAW_ROOT="${PWD}"
  5. # ---------------------------------------------------------------------------------------------------------------------
  6. target="${1}"
  7. if [ -z "${target}" ]; then
  8. echo "usage: ${0} <target>"
  9. exit 1
  10. fi
  11. # ---------------------------------------------------------------------------------------------------------------------
  12. source setup/check_target.sh
  13. source setup/env.sh
  14. # ---------------------------------------------------------------------------------------------------------------------
  15. set -u
  16. rm -rf ${PAWPAW_BUILDDIR}/*/*
  17. rm -rf ${PAWPAW_BUILDDIR}/*/._*
  18. rm -rf ${PAWPAW_BUILDDIR}/*/.hg*
  19. rm -rf ${PAWPAW_BUILDDIR}/*/.git*
  20. rm -rf ${PAWPAW_BUILDDIR}/*/.waf-*
  21. rm -rf ${PAWPAW_BUILDDIR}/*/.deps
  22. rm -rf ${PAWPAW_BUILDDIR}/*/.libs
  23. rm -rf ${PAWPAW_BUILDDIR}/*/.lock-waf_linux_build
  24. for dir in $(find ${PAWPAW_BUILDDIR} -type d -depth 1); do
  25. touch ${dir}/.stamp_cleanup
  26. done
  27. # ---------------------------------------------------------------------------------------------------------------------