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.

124 lines
3.2 KiB

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