home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / rcstxi11.zip / rcstexi.110 / makefile < prev    next >
Makefile  |  1997-03-30  |  4KB  |  177 lines

  1. #
  2. # ================================================================================
  3. #                               Edition 1.1
  4. #                      of the Texinfo-manuals for the
  5. #                      (R)evision (C)ontrol (S)ystem
  6. #                               Version 5.7
  7. #
  8. #                  (c) 1982, 1988, 1989 Walter F. Tichy.
  9. #           (c) 1990, 1991, 1992, 1993, 1994, 1995 Paul Eggert.
  10. #        (c) 1996, 1997 Karl Heinz Marbaise (doing converting job)
  11. # ================================================================================
  12. #
  13. # Discription:
  14. #    makefile to create the dvi, GNU-Info and so on.
  15. #
  16. # Authors:
  17. #    Walter Tichy,
  18. #    Paul Eggert,
  19. #    Karl Heinz Marbaise (doing converting job)
  20. #
  21. # e-mail:
  22. #    Internet: KHMarbaise@p69.ks.fido.de
  23. #    Fido-net: 2:2452/117.69
  24. #
  25. # Bugs, question:
  26. #    to above e-mail adress.
  27. #
  28. # License:
  29. #    The "Texinfo Edition of the RCS V5.7 manuals" are free
  30. #    software; you can redistribute it and/or modify it under
  31. #    the terms of the GNU General Public License as published
  32. #    by the Free Software Foundation; either version 2, or (at
  33. #    your option) any later version.
  34. #
  35. #    The "Texinfo Edition of the RCS V5.7 manuals" are distributed
  36. #    in the hope that they will be useful, but WITHOUT ANY WARRANTY;
  37. #    without even the implied warranty of MERCHANTABILITY or
  38. #    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
  39. #    License for more details.
  40. #
  41. #    You should have received a copy of the GNU General Public License
  42. #    along with the "Texinfo Edition of the RCS V5.7 manuals"; see the
  43. #    file COPYING. If not, write to the:
  44. #    Free Software Foundation,
  45. #    59 Temple Place - Suite 330,
  46. #    Boston, MA 02111-1307, USA.
  47. #
  48. #    See \rcstxi.110\COPYING for details.
  49. #
  50. # ================================================================================
  51. #
  52. #
  53. # $Id: MAKEFILE 1.5 1997/03/30 22:53:13 KHM Exp $
  54. #
  55. EDITION=ED1.1
  56. # Texinfo extension on unix that should be changed
  57. # to .texi or .texinfo
  58. TEXI=.tex
  59. #
  60. # Use rm
  61. RM=rm.exe
  62. #
  63. # Unix/linux: mkdir
  64. MKDIR=md
  65. # Unix/linux: rmdir
  66. RMDIR=rd
  67. #
  68. # Unix: cp
  69. CP=xcopy.exe
  70. #
  71. # under Unix/linux set to 'mv'
  72. MV=move
  73. #
  74. .SUFFIXES:
  75. .SUFFIXES: $(TEXI)
  76. #
  77. vpath %$(TEXI) .
  78. #
  79. DOCU = vc$(TEXI) about$(TEXI) ci$(TEXI) co$(TEXI) ident$(TEXI) merge$(TEXI) \
  80.        rcs$(TEXI) rcs_doc$(TEXI) rcsclean$(TEXI) rcsdiff$(TEXI) rcsfile$(TEXI) \
  81.        rcsintro$(TEXI) rcsmerge$(TEXI) rcssynop$(TEXI) rlog$(TEXI)
  82. #
  83. #
  84. .PHONY: default clean cleantex dvi ipf html info edition
  85. default:
  86.     @echo Possible targets are:
  87.     @echo     make clean         clean directory from unused files.
  88.     @echo     make info         create GNUs info file rcs.inf
  89.     @echo     make dvi         create a printable manual out of
  90.     @echo                 texinfo sources(rcs.dvi)
  91.     @echo                 (TeX or emTeX required).
  92.     @echo     make ipf         create via converter an IPF and
  93.     @echo                 call IPFC to make a OS/2 inf file.
  94.     @echo     make html           create via converter an HTML output
  95.     @echo     make edition         create the whole edition also
  96.     @echo                 create info-ZIP file.
  97.  
  98. clean:
  99.     -$(RM) *.htm
  100.     -$(RM) *.ipf
  101.     -$(RM) *.inf
  102.     -$(RM) *.txi
  103.     -$(RM) *.dvi
  104.     -$(RM) dviscr.dlg
  105.     -$(RM) dvipm.dlg
  106.     -$(RM) *.aux
  107.     -$(RM) *.cp
  108.     -$(RM) *.cps
  109.     -$(RM) *.fn
  110.     -$(RM) *.fns
  111.     -$(RM) *.ky
  112.     -$(RM) *.kys
  113.     -$(RM) *.log
  114.     -$(RM) *.pg
  115.     -$(RM) *.pgs
  116.     -$(RM) *.toc
  117.     -$(RM) *.tp
  118.     -$(RM) *.tps
  119.     -$(RM) *.vr
  120.     -$(RM) *.vrs
  121.     -$(RM) *.idx
  122.     -$(RM) *.ilg
  123.     -$(RM) *.ind
  124.     -$(RM) -r os2
  125. #
  126. cleantex:
  127.     -$(RM) dviscr.dlg
  128.     -$(RM) dvipm.dlg
  129.     -$(RM) *.aux
  130.     -$(RM) *.cp
  131.     -$(RM) *.cps
  132.     -$(RM) *.fn
  133.     -$(RM) *.fns
  134.     -$(RM) *.ky
  135.     -$(RM) *.kys
  136.     -$(RM) *.log
  137.     -$(RM) *.pg
  138.     -$(RM) *.pgs
  139.     -$(RM) *.toc
  140.     -$(RM) *.tp
  141.     -$(RM) *.tps
  142.     -$(RM) *.vr
  143.     -$(RM) *.vrs
  144.     -$(RM) *.idx
  145.     -$(RM) *.ilg
  146.     -$(RM) *.ind
  147. #
  148. # This targets creates a printable manual
  149. # out of the texinfo files.
  150. dvi: $(DOCU)
  151.     call mktex vc
  152.     $(MV) vc.dvi rcs.dvi
  153.  
  154. # @value's.
  155. # The converted IPF file is put into
  156. # another directory, cause if you
  157. # compile it with IPFC you get a
  158. # inf file, but this has nothing to
  159. # to with GNU's inf.
  160. ipf: $(DOCU)
  161.     $(MKDIR) os2
  162.     texi2ipf vc.tex vc.ipf
  163.     IPFC /INF vc.ipf
  164.     $(MV) vc.inf os2\rcs.inf
  165. ###    $(RM) *.txi
  166. ###    $(RM) os2/*.ipf
  167. html: $(DOCU)
  168.     texihtml vc.tex vc.htm
  169.     $(MV) vc.htm rcs.htm
  170. #
  171. info: $(DOCU)
  172.     makeinfo --no-split vc.tex
  173.  
  174. edition: clean dvi ipf html info
  175.  
  176.  
  177.