Makefile.am 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2009, 2011 Université de Bordeaux 1
  4. # Copyright (C) 2010, 2011, 2012 Centre National de la Recherche Scientifique
  5. #
  6. # Permission is granted to copy, distribute and/or modify this document
  7. # under the terms of the GNU Free Documentation License, Version 1.3
  8. # or any later version published by the Free Software Foundation;
  9. # with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
  10. #
  11. # See the GNU Free Documentation License in COPYING.GFDL for more details.
  12. info_TEXINFOS = starpu.texi
  13. starpu_TEXINFOS = chapters/advanced-api.texi \
  14. chapters/configuration.texi \
  15. chapters/perf-feedback.texi \
  16. chapters/vector_scal_cpu.texi \
  17. chapters/advanced-examples.texi \
  18. chapters/fdl-1.3.texi \
  19. chapters/perf-optimization.texi \
  20. chapters/vector_scal_c.texi \
  21. chapters/basic-api.texi \
  22. chapters/installing.texi \
  23. chapters/scaling-vector-example.texi \
  24. chapters/vector_scal_cuda.texi \
  25. chapters/basic-examples.texi \
  26. chapters/introduction.texi \
  27. chapters/tips-tricks.texi \
  28. chapters/vector_scal_opencl_codelet.texi \
  29. chapters/c-extensions.texi \
  30. chapters/mpi-support.texi \
  31. chapters/fft-support.texi \
  32. chapters/using.texi \
  33. chapters/vector_scal_opencl.texi \
  34. chapters/socl.texi \
  35. chapters/version.texi
  36. MAINTAINERCLEANFILES = starpu.pdf
  37. EXTRA_DIST = starpu.pdf \
  38. starpu.css
  39. AM_MAKEINFOHTMLFLAGS = --css-include=$(top_srcdir)/doc/starpu.css --no-headers --no-split
  40. uninstall-local:
  41. $(RM) $(DESTDIR)$(infodir)/dir
  42. #TODO: when stat is not available on the machine, insert "unknown date"
  43. chapters/version.texi:
  44. @for f in $(starpu_TEXINFOS) ; do \
  45. if test -f $(top_srcdir)/doc/$$f ; then stat --format=%Y $(top_srcdir)/doc/$$f ; fi \
  46. done | sort -r | head -1 > timestamp
  47. @LC_ALL=C date --date=@`cat timestamp` +"%d %B %Y" > timestamp_updated
  48. @LC_ALL=C date --date=@`cat timestamp` +"%B %Y" > timestamp_updated_month
  49. @echo "@set UPDATED " `cat timestamp_updated` > $(top_srcdir)/doc/chapters/version.texi
  50. @echo "@set UPDATED-MONTH" `cat timestamp_updated_month` >> $(top_srcdir)/doc/chapters/version.texi
  51. @echo "@set EDITION $(VERSION)" >> $(top_srcdir)/doc/chapters/version.texi
  52. @echo "@set VERSION $(VERSION)" >> $(top_srcdir)/doc/chapters/version.texi
  53. @$(RM) timestamp timestamp_updated timestamp_updated_month
  54. #$(top_srcdir)/doc/starpu.texi: vector_scal_c.texi vector_scal_cuda.texi vector_scal_opencl.texi vector_scal_opencl_codelet.texi
  55. #vector_scal_c.texi: $(top_srcdir)/examples/basic_examples/vector_scal.c
  56. # cat $< | sed 's/{/@{/g' | sed 's/}/@}/g' | sed 's/\t/ /g' > $@
  57. #vector_scal_cuda.texi: $(top_srcdir)/examples/basic_examples/vector_scal_cuda.cu
  58. # cat $< | sed 's/{/@{/g' | sed 's/}/@}/g' | sed 's/\t/ /g' > $@
  59. #vector_scal_opencl.texi: $(top_srcdir)/examples/basic_examples/vector_scal_opencl.c
  60. # cat $< | sed 's/{/@{/g' | sed 's/}/@}/g' | sed 's/\t/ /g' > $@
  61. #vector_scal_opencl_codelet.texi: $(top_srcdir)/examples/basic_examples/vector_scal_opencl_codelet.cl
  62. # cat $< | sed 's/{/@{/g' | sed 's/}/@}/g' | sed 's/\t/ /g' > $@
  63. #
  64. #CLEANFILES= \
  65. # vector_scal_c.texi vector_scal_cuda.texi vector_scal_opencl.texi vector_scal_opencl_codelet.texi
  66. # Rule to update documentation on web server. Should only be used locally.
  67. PUBLISHHOST ?= sync
  68. update-web: starpu.html
  69. sed -i 's/gcc\.html#Attribute-Syntax/http:\/\/gcc.gnu.org\/onlinedocs\/gcc\/Attribute-Syntax.html#Attribute-Syntax/' starpu.html
  70. scp starpu.pdf starpu.html $(PUBLISHHOST):/web/runtime/html/StarPU
  71. showcheck:
  72. -cat /dev/null