]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - Makefile.in
ncurses 5.2
[ncurses.git] / Makefile.in
index 6019d0a3b2b677c8e616b5278d290653fb3e1f7c..9489e9fe45ec53f167b2932638778f646934959c 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile.in,v 1.15 1998/02/11 12:13:39 tom Exp $
+# $Id: Makefile.in,v 1.20 2000/08/19 19:11:56 tom Exp $
 ##############################################################################
 # Copyright (c) 1998 Free Software Foundation, Inc.                          #
 #                                                                            #
@@ -33,8 +33,8 @@
 
 SHELL = /bin/sh
 
-INSTALL_PREFIX=@INSTALL_PREFIX@
-CF_MFLAGS = @cf_cv_makeflags@ INSTALL_PREFIX="$(INSTALL_PREFIX)"
+DESTDIR=@DESTDIR@
+CF_MFLAGS = @cf_cv_makeflags@ DESTDIR="$(DESTDIR)"
 
 @SET_MAKE@
 
@@ -46,12 +46,15 @@ prefix              = @prefix@
 exec_prefix    = @exec_prefix@
 
 bindir         = @bindir@
-datadir                = @datadir@
+ticdir         = @TERMINFO@
 includedir     = @includedir@
 libdir         = @libdir@
 mandir         = @mandir@
 
-DIRS_TO_MAKE = @DIRS_TO_MAKE@
+INSTALL                = @INSTALL@
+INSTALL_DATA   = @INSTALL_DATA@
+
+DIRS_TO_MAKE   = @DIRS_TO_MAKE@
 
 all :: $(DIRS_TO_MAKE)
 
@@ -66,10 +69,16 @@ preinstall :
        @ echo '      lib directory: '$(libdir)
        @ echo '  include directory: '$(includedir)
        @ echo '      man directory: '$(mandir)
-       @ echo ' terminfo directory: '$(datadir)/terminfo
+       @ echo ' terminfo directory: '$(ticdir)
        @ echo ''
-       @ if test "$(includedir)" != "$(prefix)/include" ; then \
-               echo '** Include-directory is not in a standard location'; fi
+       @ test "$(includedir)" = "$(prefix)/include" || \
+               echo '** Include-directory is not in a standard location'
+       @ test ! -f $(includedir)/termcap.h || \
+               fgrep NCURSES_VERSION $(includedir)/termcap.h >/dev/null || \
+               echo '** Will overwrite non-ncurses termcap.h'
+       @ test ! -f $(includedir)/curses.h || \
+               fgrep NCURSES_VERSION $(includedir)/curses.h >/dev/null || \
+               echo '** Will overwrite non-ncurses curses.h'
 
 # Put the common rules here so that we can easily construct the list of
 # directories to visit.