Makefile 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. #### Makefile for the Emacs Lisp Introduction manual
  2. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003,
  3. # 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
  4. # This file is part of GNU Emacs.
  5. # GNU Emacs is free software: you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation, either version 3 of the License, or
  8. # (at your option) any later version.
  9. # GNU Emacs is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. # GNU General Public License for more details.
  13. # You should have received a copy of the GNU General Public License
  14. # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
  15. SHELL = /bin/sh
  16. srcdir = .
  17. VPATH = .
  18. infodir = .
  19. # Directory with the (customized) texinfo.tex file.
  20. texinfodir = .
  21. INFO_SOURCES = ${srcdir}/orgguide.texi
  22. INFO_SOURCES_ES = ${srcdir}/orgguide.es.texi
  23. # The file name eintr must fit within 5 characters, to allow for
  24. # -NN extensions to fit into DOS 8+3 limits without clashing
  25. INFO_TARGETS = ${infodir}/eintr
  26. DVI_TARGETS = orgguide.es.dvi
  27. PO2TEXI = ${srcdir}/dotexi.sh
  28. MAKEINFO = makeinfo
  29. TEXI2DVI = texi2dvi
  30. TEXI2PDF = texi2pdf
  31. TEXI2HTML = texi2html
  32. PO4ATRANSLATE = po4a-translate
  33. DVIPS = dvips
  34. .SUFFIXES: .dvi .ps .texi
  35. info: $(INFO_TARGETS)
  36. dvi: $(DVI_TARGETS)
  37. ${infodir}/eintr: ${INFO_SOURCES_ES}
  38. cd $(srcdir); $(MAKEINFO) orgguide.es.texi -o $(infodir)/eintr
  39. orgguide.es.texi: ${INFO_SOURCES_ES}
  40. cd $(srcdir); $(PO2TEXI)
  41. orgguide.es.dvi: ${INFO_SOURCES_ES}
  42. $(TEXI2DVI) -I $(srcdir) -I $(texinfodir) $(srcdir)/orgguide.es.texi
  43. orgguide.dvi: ${INFO_SOURCES}
  44. $(TEXI2DVI) -I $(srcdir) -I $(texinfodir) $(srcdir)/orgguide.texi
  45. orgguide.es.pdf: ${INFO_SOURCES_ES}
  46. $(TEXI2PDF) -I $(srcdir) -I $(texinfodir) $(srcdir)/orgguide.es.texi
  47. orgguide.pdf: ${INFO_SOURCES}
  48. $(TEXI2PDF) -I $(srcdir) -I $(texinfodir) $(srcdir)/orgguide.texi
  49. orgguide.es.html: $(INFO_SOURCES_ES)
  50. $(TEXI2HTML) $(srcdir)/orgguide.es.texi
  51. orgguide.html: $(INFO_SOURCES_ES)
  52. $(TEXI2HTML) $(srcdir)/orgguide.texi
  53. .dvi.ps:
  54. $(DVIPS) $< -o $@
  55. mostlyclean:
  56. rm -f *.log *.cp *.fn *.ky *.pg *.vr *.tp *.tmp*
  57. clean: mostlyclean
  58. rm -f *.dvi *.html
  59. distclean: clean
  60. maintainer-clean: distclean
  61. rm -f *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc *.tmp*
  62. cd $(infodir); rm -f eintr eintr-[1-9]
  63. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  64. # Otherwise a system limit (for SysV at least) may be exceeded.
  65. .NOEXPORT: