TEXT   125
unBootstrap
Guest on 13th March 2023 12:16:58 AM


  1. #!/bin/sh
  2.  
  3. ########################################################################
  4. # Remove all automake detritus, leaving just
  5. # configure.in and Makefile.am
  6. #
  7. # This script assumes you use 'config-aux' to store temporary autoconf
  8. # files in.  See comment in 'autoboot'.
  9. ########################################################################
  10.  
  11. set -x
  12.  
  13. if test -f Makefile ; then
  14.     gmake distclean
  15.     rm -f Makefile
  16. fi
  17.  
  18. # Remove standard autoconf detritus
  19. rm -Rf autom4te*.cache
  20. rm -f \
  21.     aclocal.m4                      \
  22.     config-aux/Makefile.in          \
  23.     config-aux/compile              \
  24.     config-aux/ylwrap               \
  25.     config.cache                    \
  26.     config.log                      \
  27.     config.status                   \
  28.     configure                       \
  29.     configure.scan                  \
  30.     contrib/Makefile.in             \
  31.     contrib/upcc_CGI/Makefile.in    \
  32.     contrib/upcdecl/Makefile.in     \
  33.     detect-upc/Makefile.in          \
  34.     docs/Makefile.in                \
  35.     harness/Makefile.in             \
  36.     Makefile.in                     \
  37.     man/Makefile.in                 \
  38.     profile/Makefile.in             \
  39.     stamp-h.in                      \
  40.     test/Makefile.in                \
  41.     umalloc/Makefile.in             \
  42.     upc_include/Makefile.in         \
  43.     upcr_config.h.in                \
  44.     upcr_extinclude/Makefile.in     \
  45.     upcr_geninclude/Makefile.in     \
  46.     upcr_geninclude/sys/Makefile.in \
  47.     upcr_geninclude/bits/Makefile.in \
  48.     upcr_geninclude2/Makefile.in    \
  49.     upcr_postinclude/Makefile.in    \
  50.     upcr_preinclude/Makefile.in     \
  51.  
  52. # Remove 'config-aux' dir only if it exists and is not empty
  53. #   -- may contain user M4 macro files
  54. rmdir config-aux 2>/dev/null
  55.  
  56. if test -d gasnet; then
  57.     ( cd gasnet && ./unBootstrap )
  58. fi

Raw Paste

Login or Register to edit or fork this paste. It's free.