You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

113 lines
2.5 KiB

25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
  1. # Makefile for cln/doc
  2. #### Start of system configuration section. ####
  3. # Directories used by "make":
  4. srcdir = @srcdir@
  5. # Directories used by "make install":
  6. prefix = @prefix@
  7. local_prefix = /usr/local
  8. exec_prefix = @exec_prefix@
  9. datadir = @datadir@
  10. infodir = @infodir@
  11. mandir = @mandir@
  12. htmldir = $(datadir)/html
  13. dvidir = $(datadir)/dvi
  14. DESTDIR =
  15. # Programs used by "make":
  16. RM = rm -f
  17. MKDIR = mkdir -p
  18. @SET_MAKE@
  19. # Programs used by "make" if you have changed the documentation files:
  20. TEX = tex
  21. TEXI2DVI = texi2dvi
  22. DVIPS = dvips -D600
  23. MAKEINFO = LANGUAGE= makeinfo
  24. TEXI2HTML = texi2html
  25. EMACS = emacs
  26. # Programs used by "make install":
  27. INSTALL = @INSTALL@
  28. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  29. INSTALL_DATA = @INSTALL_DATA@
  30. #### End of system configuration section. ####
  31. PACKAGE = cln
  32. SHELL = /bin/sh
  33. VPATH = $(srcdir)
  34. all : info dvi ps html
  35. info : $(srcdir)/$(PACKAGE).info
  36. $(srcdir)/$(PACKAGE).info : $(srcdir)/$(PACKAGE).texi
  37. cd $(srcdir) && $(MAKEINFO) --no-split $(PACKAGE).texi
  38. $(srcdir)/$(PACKAGE).texi : $(srcdir)/$(PACKAGE).tex
  39. cp $< $@
  40. $(EMACS) -batch $@ -load addnodes.el -f save-buffer
  41. mv $@ $@~
  42. sed -e 's,@detailmenu,,g' -e 's,@end detailmenu,,g' < $@~ > $@
  43. $(RM) $@~
  44. dvi : $(srcdir)/$(PACKAGE).dvi
  45. $(srcdir)/$(PACKAGE).dvi : $(srcdir)/$(PACKAGE).texi
  46. cd $(srcdir) && $(TEXI2DVI) $(PACKAGE).texi
  47. ps : $(srcdir)/$(PACKAGE).ps
  48. $(srcdir)/$(PACKAGE).ps : $(srcdir)/$(PACKAGE).dvi
  49. $(DVIPS) -o $@ $<
  50. html : $(PACKAGE).html $(PACKAGE)_toc.html
  51. $(PACKAGE).html : $(srcdir)/$(PACKAGE).texi
  52. cd $(srcdir) && $(TEXI2HTML) -expandinfo -number -monolithic $(PACKAGE).texi
  53. $(PACKAGE)_toc.html : $(srcdir)/$(PACKAGE).texi
  54. cd $(srcdir) && $(TEXI2HTML) -expandinfo -number -split_chapter $(PACKAGE).texi
  55. install : all installdirs force
  56. $(INSTALL_DATA) $(srcdir)/$(PACKAGE).info $(DESTDIR)$(infodir)/$(PACKAGE).info
  57. $(INSTALL_DATA) $(srcdir)/$(PACKAGE)_*.html $(DESTDIR)$(htmldir)
  58. $(INSTALL_DATA) $(srcdir)/$(PACKAGE).dvi $(DESTDIR)$(dvidir)/$(PACKAGE).dvi
  59. installdirs : force
  60. $(MKDIR) $(DESTDIR)$(datadir)
  61. $(MKDIR) $(DESTDIR)$(infodir)
  62. $(MKDIR) $(DESTDIR)$(htmldir)
  63. $(MKDIR) $(DESTDIR)$(dvidir)
  64. uninstall : force
  65. $(RM) $(DESTDIR)$(infodir)/$(PACKAGE).info
  66. $(RM) $(DESTDIR)$(htmldir)/$(PACKAGE)_*.html
  67. $(RM) $(DESTDIR)$(dvidir)/$(PACKAGE).dvi
  68. check : all
  69. mostlyclean : clean
  70. clean : force
  71. $(RM) *~ *.aux *.toc *.cp *.fn *.ky *.pg *.tp *.vr *.my *.mys *.log core
  72. distclean : clean
  73. $(RM) Makefile
  74. maintainer-clean : distclean
  75. $(RM) *.info *.dvi *.ps *.html
  76. if [ -f $(PACKAGE).tex ] ; then $(RM) $(PACKAGE).texi ; fi
  77. force :