Makefile.am 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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/benchmarks.texi \
  15. chapters/configuration.texi \
  16. chapters/perf-feedback.texi \
  17. chapters/vector_scal_cpu.texi \
  18. chapters/advanced-examples.texi \
  19. chapters/fdl-1.3.texi \
  20. chapters/perf-optimization.texi \
  21. chapters/vector_scal_c.texi \
  22. chapters/basic-api.texi \
  23. chapters/installing.texi \
  24. chapters/scaling-vector-example.texi \
  25. chapters/vector_scal_cuda.texi \
  26. chapters/basic-examples.texi \
  27. chapters/introduction.texi \
  28. chapters/tips-tricks.texi \
  29. chapters/vector_scal_opencl_codelet.texi \
  30. chapters/c-extensions.texi \
  31. chapters/mpi-support.texi \
  32. chapters/fft-support.texi \
  33. chapters/using.texi \
  34. chapters/vector_scal_opencl.texi \
  35. <<<<<<< .working
  36. chapters/socl.texi \
  37. chapters/sched_ctx_hypervisor.texi
  38. =======
  39. chapters/socl.texi \
  40. chapters/version.texi
  41. >>>>>>> .merge-right.r7640
  42. MAINTAINERCLEANFILES = starpu.pdf
  43. EXTRA_DIST = starpu.css
  44. dist_pdf_DATA = starpu.pdf
  45. AM_MAKEINFOHTMLFLAGS = --css-include=$(top_srcdir)/doc/starpu.css --no-headers --no-split
  46. uninstall-local:
  47. $(RM) $(DESTDIR)$(infodir)/dir
  48. chapters/version.texi:
  49. @-for f in $(starpu_TEXINFOS) ; do \
  50. if test -f $(top_srcdir)/doc/$$f ; then stat --format=%Y $(top_srcdir)/doc/$$f 2>/dev/null ; fi \
  51. done | sort -r | head -1 > timestamp
  52. @-LC_ALL=C date --date=@`cat timestamp` +"%d %B %Y" > timestamp_updated 2>/dev/null
  53. @-LC_ALL=C date --date=@`cat timestamp` +"%B %Y" > timestamp_updated_month 2>/dev/null
  54. @if test -s timestamp_updated ; then \
  55. echo "@set UPDATED " `cat timestamp_updated` > $(top_srcdir)/doc/chapters/version.texi;\
  56. echo "@set UPDATED-MONTH" `cat timestamp_updated_month` >> $(top_srcdir)/doc/chapters/version.texi;\
  57. else \
  58. echo "@set UPDATED unknown_date" > $(top_srcdir)/doc/chapters/version.texi ;\
  59. echo "@set UPDATED-MONTH unknown_date" >> $(top_srcdir)/doc/chapters/version.texi; \
  60. fi
  61. @echo "@set EDITION $(VERSION)" >> $(top_srcdir)/doc/chapters/version.texi
  62. @echo "@set VERSION $(VERSION)" >> $(top_srcdir)/doc/chapters/version.texi
  63. @$(RM) timestamp timestamp_updated timestamp_updated_month
  64. #$(top_srcdir)/doc/starpu.texi: vector_scal_c.texi vector_scal_cuda.texi vector_scal_opencl.texi vector_scal_opencl_codelet.texi
  65. #vector_scal_c.texi: $(top_srcdir)/examples/basic_examples/vector_scal.c
  66. # cat $< | sed 's/{/@{/g' | sed 's/}/@}/g' | sed 's/\t/ /g' > $@
  67. #vector_scal_cuda.texi: $(top_srcdir)/examples/basic_examples/vector_scal_cuda.cu
  68. # cat $< | sed 's/{/@{/g' | sed 's/}/@}/g' | sed 's/\t/ /g' > $@
  69. #vector_scal_opencl.texi: $(top_srcdir)/examples/basic_examples/vector_scal_opencl.c
  70. # cat $< | sed 's/{/@{/g' | sed 's/}/@}/g' | sed 's/\t/ /g' > $@
  71. #vector_scal_opencl_codelet.texi: $(top_srcdir)/examples/basic_examples/vector_scal_opencl_codelet.cl
  72. # cat $< | sed 's/{/@{/g' | sed 's/}/@}/g' | sed 's/\t/ /g' > $@
  73. #
  74. #CLEANFILES= \
  75. # vector_scal_c.texi vector_scal_cuda.texi vector_scal_opencl.texi vector_scal_opencl_codelet.texi
  76. # Rule to update documentation on web server. Should only be used locally.
  77. PUBLISHHOST ?= sync
  78. update-web: starpu.html
  79. sed -i 's/gcc\.html#Attribute-Syntax/http:\/\/gcc.gnu.org\/onlinedocs\/gcc\/Attribute-Syntax.html#Attribute-Syntax/' starpu.html
  80. scp starpu.pdf starpu.html $(PUBLISHHOST):/web/runtime/html/StarPU
  81. showcheck:
  82. -cat /dev/null