Makefile.am 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. MAKEFLAGS=-s
  2. if HAVE_DOCTOOLS
  3. .PHONY: docs webfiles manpages
  4. MAN2HTML = ../scripts/man2html
  5. L2HFLAGS = -show_section_numbers -no_footnode -split +1 -info 0 \
  6. -auto_navigation -local_icons -mkdir -html_version 4.0
  7. webfiles: web/FAQ/FAQ.html web/manual/manual.html web/flowreplay/flowreplay.html
  8. docs: FAQ.pdf flowreplay.pdf manual.pdf webfiles manpages
  9. latex:
  10. @LYX@ -e latex FAQ.lyx
  11. @LYX@ -e latex manual.lyx
  12. @LYX@ -e latex flowreplay.lyx
  13. FAQ.pdf: latex
  14. @TEXI2DVI@ FAQ.tex
  15. @DVIPDFM@ FAQ.dvi
  16. web/FAQ/FAQ.html: latex
  17. @LATEX2HTML@ $(L2HFLAGS) -dir web/FAQ FAQ.tex
  18. flowreplay.pdf: latex
  19. @FIG2DEV@ -L eps flowheader.fig flowheader.eps
  20. @TEXI2DVI@ flowreplay.tex
  21. @DVIPDFM@ flowreplay.dvi
  22. web/flowreplay/flowreplay.html: latex
  23. @LATEX2HTML@ $(L2HFLAGS) -dir web/flowreplay flowreplay.tex
  24. manual.pdf: latex
  25. @FIG2DEV@ -L eps router-mode1.fig router-mode1.eps
  26. @FIG2DEV@ -L eps router-mode2.fig router-mode2.eps
  27. @FIG2DEV@ -L eps router-mode3.fig router-mode3.eps
  28. @TEXI2DVI@ manual.tex
  29. @DVIPDFM@ manual.dvi
  30. web/manual/manual.html: latex
  31. @LATEX2HTML@ $(L2HFLAGS) -dir web/manual manual.tex
  32. web/man/tcpreplay.html:
  33. $(MAN2HTML) < ../src/tcpreplay.1 > web/man/tcpreplay.html
  34. web/man/tcpprep.html:
  35. $(MAN2HTML) < ../src/tcpprep.1 > web/man/tcpprep.html
  36. web/man/flowreplay.html:
  37. $(MAN2HTML) < ../src/flowreplay.1 > web/man/flowreplay.html
  38. web/man/tcprewrite.html:
  39. $(MAN2HTML) < ../src/tcprewrite.1 > web/man/tcprewrite.html
  40. web/man/tcpbridge.html:
  41. $(MAN2HTML) < ../src/tcpbridge.1 > web/man/tcpbridge.html
  42. manpages: web/man/tcpreplay.html web/man/tcpprep.html web/man/flowreplay.html \
  43. web/man/tcprewrite.html web/man/tcpbridge.html
  44. postweb: webfiles manpages
  45. rsync -e ssh --exclude '/**/.svn/' --exclude '/**~' --exclude '*~' \
  46. -avz web/ aturner@voigner.synfin.net:/var/www-vhosts/tcpreplay/
  47. scp CHANGELOG TODO aturner@voigner.synfin.net:/var/www-vhosts/tcpreplay/
  48. postwebsf: webfiles manpages
  49. -rsync -e ssh --exclude '/**/.svn/' --exclude '/**~' --exclude '*~' \
  50. -avz web/ aturner@shell.sf.net:htdocs/
  51. scp CHANGELOG TODO aturner@shell.sf.net:htdocs/
  52. endif
  53. EXTRA_DIST = CHANGELOG CREDIT HACKING INSTALL LICENSE TODO \
  54. FAQ.lyx FAQ.pdf web/FAQ/FAQ.html web/FAQ \
  55. flowreplay.lyx flowreplay.pdf web/flowreplay/flowreplay.html web/flowreplay \
  56. flowheader.fig router-mode1.fig router-mode2.fig router-mode3.fig \
  57. manual.lyx manual.pdf web/manual/manual.html web/manual \
  58. web/index.html web/web.css web/man/tcpbridge.html \
  59. web/man/tcpreplay.html web/man/tcpprep.html web/man/flowreplay.html \
  60. web/man/tcprewrite.html web/tcpreplay-2-faq.html web/tcpreplay-2-faq.css
  61. MOSTLYCLEANFILES = FAQ.aux FAQ.log FAQ.toc FAQ.dvi FAQ.tex \
  62. manual.aux manual.log manual.dvi manual.tex manual.toc \
  63. flowreplay.aux flowreplay.log flowheader.eps flowreplay.tex \
  64. flowreplay.log flowreplay.toc flowreplay.dvi \
  65. images.aux images.log images.pl images.tex img1.png labels.pl \
  66. router-mode1.eps router-mode2.eps router-mode3.eps \
  67. *~ web/*~
  68. clean-docs: clean
  69. -rm -rf *.pdf web/manual web/FAQ web/flowreplay web/man/*
  70. maintainer-clean-local: clean-docs
  71. -rm -rf web/flowreplay web/FAQ web/manual web/man/*.html
  72. MAINTAINERCLEANFILES = FAQ.pdf flowreplay.pdf manual.pdf Makefile.in