cleanup.sh 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. #!/bin/sh
  2. #
  3. # Licensed to the Apache Software Foundation (ASF) under one
  4. # or more contributor license agreements. See the NOTICE file
  5. # distributed with this work for additional information
  6. # regarding copyright ownership. The ASF licenses this file
  7. # to you under the Apache License, Version 2.0 (the
  8. # "License"); you may not use this file except in compliance
  9. # with the License. You may obtain a copy of the License at
  10. #
  11. # http://www.apache.org/licenses/LICENSE-2.0
  12. #
  13. # Unless required by applicable law or agreed to in writing,
  14. # software distributed under the License is distributed on an
  15. # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  16. # KIND, either express or implied. See the License for the
  17. # specific language governing permissions and limitations
  18. # under the License.
  19. #
  20. topsrcdir="`dirname $0`"
  21. cd "$topsrcdir"
  22. make -k clean >/dev/null 2>&1
  23. make -k distclean >/dev/null 2>&1
  24. find . -name Makefile.in -exec rm -f {} \;
  25. rm -rf \
  26. AUTHORS \
  27. ChangeLog \
  28. INSTALL \
  29. Makefile \
  30. Makefile.in \
  31. Makefile.orig \
  32. aclocal/libtool.m4 \
  33. aclocal/ltoptions.m4 \
  34. aclocal/ltsugar.m4 \
  35. aclocal/ltversion.m4 \
  36. aclocal/lt~obsolete.m4 \
  37. aclocal.m4 \
  38. autom4te.cache \
  39. autoscan.log \
  40. config.guess \
  41. config.h \
  42. config.hin \
  43. config.hin~ \
  44. config.log \
  45. config.status \
  46. config.status.lineno \
  47. config.sub \
  48. configure \
  49. configure.lineno \
  50. configure.scan \
  51. depcomp \
  52. .deps \
  53. install-sh \
  54. .libs \
  55. libtool \
  56. ltmain.sh \
  57. missing \
  58. ylwrap \
  59. if/gen-* \
  60. test/gen-* \
  61. lib/php/src/ext/thrift_protocol/.deps \
  62. lib/php/src/ext/thrift_protocol/Makefile \
  63. lib/php/src/ext/thrift_protocol/Makefile.fragments \
  64. lib/php/src/ext/thrift_protocol/Makefile.global \
  65. lib/php/src/ext/thrift_protocol/Makefile.objects \
  66. lib/php/src/ext/thrift_protocol/acinclude.m4 \
  67. lib/php/src/ext/thrift_protocol/aclocal.m4 \
  68. lib/php/src/ext/thrift_protocol/autom4te.cache \
  69. lib/php/src/ext/thrift_protocol/build \
  70. lib/php/src/ext/thrift_protocol/config.guess \
  71. lib/php/src/ext/thrift_protocol/config.h \
  72. lib/php/src/ext/thrift_protocol/config.h.in \
  73. lib/php/src/ext/thrift_protocol/config.log \
  74. lib/php/src/ext/thrift_protocol/config.nice \
  75. lib/php/src/ext/thrift_protocol/config.status \
  76. lib/php/src/ext/thrift_protocol/config.sub \
  77. lib/php/src/ext/thrift_protocol/configure \
  78. lib/php/src/ext/thrift_protocol/configure.in \
  79. lib/php/src/ext/thrift_protocol/include \
  80. lib/php/src/ext/thrift_protocol/install-sh \
  81. lib/php/src/ext/thrift_protocol/libtool \
  82. lib/php/src/ext/thrift_protocol/ltmain.sh \
  83. lib/php/src/ext/thrift_protocol/missing \
  84. lib/php/src/ext/thrift_protocol/mkinstalldirs \
  85. lib/php/src/ext/thrift_protocol/modules \
  86. lib/php/src/ext/thrift_protocol/run-tests.php