]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - Makefile.in
ncurses 5.0
[ncurses.git] / Makefile.in
index 6019d0a3b2b677c8e616b5278d290653fb3e1f7c..381ca9e7ed753413ef870f693430390b17d548d8 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.18 1998/08/22 23:45:00 tom Exp $
 ##############################################################################
 # Copyright (c) 1998 Free Software Foundation, Inc.                          #
 #                                                                            #
@@ -51,7 +51,10 @@ 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)
 
@@ -68,8 +71,14 @@ preinstall :
        @ echo '      man directory: '$(mandir)
        @ echo ' terminfo directory: '$(datadir)/terminfo
        @ 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.