home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / ncurses-1.9.9e-src.tgz / tar.out / fsf / ncurses / misc / Makefile.in < prev    next >
Makefile  |  1996-09-28  |  1KB  |  60 lines

  1. # Makefile for ncurses miscellany directory
  2. #
  3. # This makes/installs the terminfo database
  4. #
  5. # The variable 'srcdir' refers to the source-distribution, and can be set with
  6. # the configure script by "--srcdir=DIR".
  7. #
  8. # The rules are organized to produce the libraries for the configured models,
  9. # and the programs with the configured default model.
  10.  
  11. # turn off _all_ suffix rules; we'll generate our own
  12. .SUFFIXES:
  13.  
  14. SHELL        = /bin/sh
  15. THIS        = Makefile
  16.  
  17. NC_MFLAGS     = @nc_cv_makeflags@
  18. @SET_MAKE@
  19.  
  20. srcdir        = @srcdir@
  21. prefix        = @prefix@
  22. exec_prefix    = @exec_prefix@
  23. bindir        = $(exec_prefix)/bin
  24.  
  25. # We'd put terminfo in /usr/share/terminfo, but that's not the convention...
  26. ticdir        = @datadir@
  27.  
  28. ################################################################################
  29. all:
  30.  
  31. install: install.data
  32.  
  33. install.data: $(ticdir)
  34.     rm -fr $(ticdir)/[0-9A-Za-z]
  35.     @echo "Building terminfo database, please wait..."
  36.     umask 022; TERMINFO=$(ticdir) $(bindir)/tic $(srcdir)/terminfo.src
  37.     cp -r $(srcdir)/tabset $(prefix)/share
  38.     find $(prefix)/share -type d -name CVS -print | xargs rm -rf
  39.  
  40. $(ticdir) :
  41.     $(srcdir)/../mkinstalldirs $@
  42.  
  43. tags:
  44.  
  45. TAGS:
  46.  
  47. clean ::
  48.     -rm -f tags TAGS *~
  49.  
  50. distclean: clean
  51.     -rm -f Makefile 
  52.  
  53. mostlyclean: clean
  54.  
  55. realclean: distclean
  56.  
  57. ###############################################################################
  58. # The remainder of this file is automatically generated during configuration
  59. ###############################################################################
  60.