home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / zip / gnu / tinfo210.lzh / TINFO210 / MAKEFILE < prev    next >
Text File  |  1991-08-29  |  3KB  |  77 lines

  1.   ####     Makefile for the version 2 Texinfo package -*- text -*-    ####
  2.  
  3. # Robert J. Chassell
  4. # bugs to bob@ai.mit.edu
  5. # 28 March 1991
  6.  
  7. # A `make' or `make dist' command creates a compressed tar file of
  8. # version 2 of the Texinfo package, including both the Texinfo and the
  9. # `makeinfo' files.  The file is called `texinfo2.tar.Z' (or some
  10. # similar name, defined with the 'TEXINFO2_DIRECTORY' variable).  Make
  11. # presumes that the Texinfo documentation and miscellaneous files are
  12. # in the current directory, the Emacs lisp code is in a `elisp'
  13. # subdirectory and the `makeinfo' files are in a `C' subdirectory.
  14.  
  15. # Use `tar xvzf texinfo2.tar.Z' to uncompress and extract the contents
  16. # of `texinfo2.tar.Z'.
  17.  
  18. # The contents of `texinfo2.tar.Z' expand to a megabyte or so.
  19.  
  20. # Before mailing texinfo.tar.Z, if you should mail it,
  21. # uuencode the file with the following command:
  22. # uuencode texinfo.tar.Z texinfo.tar.Z > texinfo.tar.Z.uu
  23.  
  24. #### ==> Specify the following as appropriate: texinfo-2.01, or whatever
  25. TEXINFO2_DIRECTORY = texinfo2
  26.  
  27. TEXINFO_DOCUMENTATION = texinfo2.texi
  28.  
  29. TEXINFO_SUPPORT = README Makefile New-features
  30.  
  31. TEXINFO_C_SUPPORT = C/texindex.c
  32.  
  33. TEXINFO_ELISP_SOURCES = elisp/texinfo.el \
  34.         elisp/texnfo-upd.el \
  35.         elisp/texinfmt.el \
  36.         elisp/texnfo-tex.el \
  37.         elisp/makeinfo.el 
  38.  
  39. #### include `texi2roff' when it becomes available ####
  40. OTHER_TEXINFO_SOURCES = texi2dvi texinfo.tex
  41.  
  42. INFO_ELISP_SOURCES = elisp/info.el elisp/informat.el
  43.  
  44. MAKEINFO_SOURCES = C/makeinfo.c C/info.c \
  45.         C/getopt.c C/getopt1.c
  46.  
  47. MAKEINFO_HEADERS = C/getopt.h
  48.  
  49. MAKEINFO_SUPPORT = C/Makefile.in C/configure
  50.  
  51. # This Makefile creates subdirectories and links the sources into it.
  52. # When the contents of the tar file are extracted, the files extract
  53. # into the a subdirectory called `texinfo2' containing the
  54. # documentation and miscellaneous files, and subsubdirectories, called
  55. # `elisp' and `C', containing the software.
  56.  
  57. dist: $(TEXINFO_DOCUMENTATION) $(TEXINFO_ELISP_SOURCES) \
  58.         $(OTHER_TEXINFO_SOURCES) \
  59.         $(TEXINFO_SUPPORT) $(TEXINFO_C_SUPPORT)  \
  60.         $(INFO_ELISP_SOURCES) \
  61.         $(MAKEINFO_SOURCES) $(MAKEINFO_HEADERS) $(MAKEINFO_SUPPORT)
  62.     mkdir $(TEXINFO2_DIRECTORY)
  63.     mkdir $(TEXINFO2_DIRECTORY)/elisp
  64.     mkdir $(TEXINFO2_DIRECTORY)/C
  65.     ln $(TEXINFO_DOCUMENTATION) $(TEXINFO_SUPPORT) \
  66.         $(OTHER_TEXINFO_SOURCES) \
  67.         $(TEXINFO2_DIRECTORY)
  68.     ln $(TEXINFO_ELISP_SOURCES) $(INFO_ELISP_SOURCES) \
  69.         $(TEXINFO2_DIRECTORY)/elisp
  70.     ln $(MAKEINFO_SOURCES) $(MAKEINFO_HEADERS) \
  71.         $(MAKEINFO_SUPPORT) $(TEXINFO_C_SUPPORT) \
  72.         $(TEXINFO2_DIRECTORY)/C
  73.     tar chofvz $(TEXINFO2_DIRECTORY).tar.Z $(TEXINFO2_DIRECTORY)
  74.     -rm -r $(TEXINFO2_DIRECTORY)
  75.  
  76. ######################################################################
  77.