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.

117 lines
3.0 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
  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. # 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. dvi : ${srcdir}/${PACKAGE}.dvi
  40. ${srcdir}/${PACKAGE}.dvi : ${srcdir}/${PACKAGE}.texi
  41. cd ${srcdir} && ${TEXI2DVI} ${PACKAGE}.texi
  42. ps : ${srcdir}/${PACKAGE}.ps
  43. ${srcdir}/${PACKAGE}.ps : ${srcdir}/${PACKAGE}.dvi
  44. ${DVIPS} -o $@ $<
  45. html : ${PACKAGE}.html ${PACKAGE}/${PACKAGE}.html
  46. ${PACKAGE}.html : ${srcdir}/${PACKAGE}.texi
  47. cd ${srcdir} && ${TEXI2HTML} -expandinfo -number -monolithic ${PACKAGE}.texi
  48. ${PACKAGE}/${PACKAGE}.html : ${srcdir}/${PACKAGE}.texi
  49. cd ${srcdir} && ${TEXI2HTML} -expandinfo -number -split_chapter ${PACKAGE}.texi
  50. install : all installdirs force
  51. ${INSTALL_DATA} ${srcdir}/${PACKAGE}.info ${DESTDIR}${infodir}/${PACKAGE}.info
  52. @if (install-info --version && \
  53. install-info --version 2>&1 | sed 1q | fgrep -i -v debian) >/dev/null 2>&1; then \
  54. echo " install-info --info-dir=${DESTDIR}${infodir} ${DESTDIR}${infodir}/${PACKAGE}.info";\
  55. install-info --info-dir=${DESTDIR}${infodir} ${DESTDIR}${infodir}/${PACKAGE}.info || :;\
  56. else : ; fi
  57. ${INSTALL_DATA} ${srcdir}/${PACKAGE}/${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. @if (install-info --version && \
  66. install-info --version 2>&1 | sed 1q | fgrep -i -v debian) >/dev/null 2>&1; then \
  67. echo " install-info --info-dir=${DESTDIR}${infodir} --remove ${DESTDIR}${infodir}/${PACKAGE}.info"; \
  68. install-info --info-dir=${DESTDIR}${infodir} --remove ${DESTDIR}${infodir}/${PACKAGE}.info; \
  69. else :; fi
  70. ${RM} ${DESTDIR}${infodir}/${PACKAGE}.info
  71. ${RM} ${DESTDIR}${htmldir}/${PACKAGE}_*.html
  72. ${RM} ${DESTDIR}${dvidir}/${PACKAGE}.dvi
  73. check : all
  74. mostlyclean : clean
  75. clean : force
  76. ${RM} *~ *.aux *.toc *.cp *.fn *.ky *.pg *.tp *.vr *.my *.mys *.log core
  77. distclean : clean
  78. ${RM} Makefile
  79. maintainer-clean : distclean
  80. ${RM} *.info *.dvi *.ps *.html
  81. ${RM_R} cln/
  82. force :