Makefile.am 1000 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # Docs
  2. if HAVE_FIG2DEV
  3. # Generate the paper from its sources.
  4. # Requires transfig and pdflatex.
  5. PAPER_SRCS = \
  6. mc.tex \
  7. daala.bib
  8. FIG_SRCS = \
  9. 4-8sub.fig \
  10. mvpred.fig
  11. FIG_TEX_SRCS = blockidx.fig vbunsplit.fig
  12. FIG_OBJS = \
  13. $(FIG_SRCS:.fig=.pdf) \
  14. $(FIG_TEX_SRCS:.fig=.pdftex) \
  15. $(FIG_TEX_SRCS:.fig=.pdftex_t)
  16. #noinst_DATA = mc.pdf
  17. CLEANFILES = \
  18. mc.pdf \
  19. mc.out \
  20. mc.log \
  21. mc.blg \
  22. mc.bbl \
  23. mc.aux \
  24. blockidx.pdftex \
  25. blockidx.pdftex_t \
  26. vbunsplit.pdftex \
  27. vbunsplit.pdftex_t \
  28. mvpred.pdf \
  29. 4-8sub.pdf
  30. mc.pdf : $(PAPER_SRCS) $(FIG_OBJS) $(EXTRA_FIGS) mc.bbl
  31. pdflatex mc
  32. pdflatex mc
  33. mc.bbl : $(PAPER_SRCS) $(FIG_OBJS) $(EXTRA_FIGS)
  34. if [ mc.tex -nt mc.aux ] ; then pdflatex mc ; fi
  35. bibtex mc
  36. figures : $(FIG_OBJS)
  37. # rule to generate latex versions of the xfig figures
  38. %.tex : %.fig
  39. fig2dev -L latex $< $@
  40. %.pdf : %.fig
  41. fig2dev -L pdf -p 0 $< $@
  42. %.pdftex : %.fig
  43. fig2dev -L pdftex -p 0 $< $@
  44. %.pdftex_t : %.fig
  45. fig2dev -L pdftex_t -p $(<:.fig=.pdftex) $< $@
  46. endif