Makefile.am 797 B

123456789101112131415161718192021222324252627282930313233343536
  1. html_tex_tests = tex_l2h.sh tex_t4ht.sh
  2. EXTRA_DIST = $(TESTS) indices_res index_split_res tex_l2h_res tex_t4ht_res $(html_tex_tests)
  3. TESTS = indices.sh
  4. # $(html_tex_tests)
  5. #TESTS = tex_l2h.sh tex_t4ht.sh
  6. test_dirs = indices index_split tex_l2h tex_t4ht
  7. #test_dirs = tex_l2h tex_t4ht
  8. copy-tests:
  9. for dir in $(test_dirs); do \
  10. if [ -d "$$dir" ]; then \
  11. if [ -d "$${dir}_res" ]; then \
  12. rm -f "$${dir}_res/"*.* ;\
  13. else \
  14. mkdir "$${dir}_res/" ; \
  15. fi ;\
  16. cp -p "$$dir/"*.* "$${dir}_res/"; \
  17. rm -f "$${dir}_res/"*.png "$${dir}_res/"*_l2h.css; \
  18. else \
  19. echo "No dir $$dir/"; \
  20. fi; \
  21. done
  22. DISTCLEANFILES = *.log *.out
  23. distclean-local:
  24. rm -rf diffs $(test_dirs)
  25. dist-hook:
  26. for dir in $(test_dirs); do \
  27. rm -rf `find "$(distdir)/$${dir}_res" -name .svn` ;\
  28. done