Makefile 697 B

123456789101112131415161718192021222324252627282930
  1. all: clean autoconf autoheader clean_again
  2. autoconf:
  3. @rm -rf ../configure
  4. @echo "Autoconf...."
  5. @autoconf
  6. @echo "Fixing configure for cache_file"
  7. @(if ! sed configure -e "s/^cache_file=\/dev\/null/cache_file=\.\/config.cache/" \
  8. -e "s/&& echo \"updating cache .cache_file\"//" > ../configure; then \
  9. cp configure ../configure; \
  10. rm configure; \
  11. fi)
  12. @chmod 700 ../configure
  13. @ls -al ../configure
  14. autoheader:
  15. @rm -rf ../config.h.in
  16. @echo "Autoheader..."
  17. @autoheader
  18. @mv -f config.h.in ../config.h.in
  19. @ls -al ../config.h.in
  20. clean:
  21. @echo "Cleaning..."
  22. @rm -rf autom4te.cache/ configure config.h.in
  23. clean_again:
  24. @echo "Cleaning..."
  25. @rm -rf autom4te.cache/ configure config.h.in