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.

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