Makefile 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #
  2. # Zend Framework
  3. #
  4. # LICENSE
  5. #
  6. # This source file is subject to the new BSD license that is bundled
  7. # with this package in the file LICENSE.txt.
  8. # It is also available through the world-wide-web at this URL:
  9. # http://framework.zend.com/license/new-bsd
  10. # If you did not receive a copy of the license and are unable to
  11. # obtain it through the world-wide-web, please send an email
  12. # to license@zend.com so we can send you a copy immediately.
  13. #
  14. # @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
  15. # @license http://framework.zend.com/license/new-bsd New BSD License
  16. #
  17. LANG=*
  18. DOCBOOK_DTD=http://framework.zend.com/docbook/xml/4.5/docbookx.dtd
  19. DOCBOOK_XSL=http://framework.zend.com/docbook-xsl/htmlhelp/htmlhelp.xsl
  20. all: html
  21. html:
  22. @for lang in ./$(LANG) ; \
  23. do \
  24. [ -d $$lang ] || continue ; \
  25. ( cd $$lang && autoconf && ./configure && \
  26. make "DOCBOOK_DTD=$(DOCBOOK_DTD)" "DOCBOOK_XSL=$(DOCBOOK_XSL)" 2>&1 | tee err.txt ) ; \
  27. echo "LANG $$lang done." ; \
  28. done
  29. clean:
  30. @for lang in $(LANG) ; \
  31. do \
  32. [ -d $$lang ] || continue ; \
  33. ( cd $$lang && rm -rf html/*.html html/HTML.manifest html/figures _temp_*.xml) ; \
  34. echo "LANG=$$lang done." ; \
  35. done
  36. cleanall:
  37. @for lang in $(LANG) ; \
  38. do \
  39. [ -d $$lang ] || continue ; \
  40. ( cd $$lang && rm -rf html/*.html html/HTML.manifest html/figures _temp_*.xml \
  41. config.* configure autom4te.cache Makefile html.xsl manual.xml err.txt ) ; \
  42. echo "LANG $$lang done." ; \
  43. done