X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=Makefile.in;h=381ca9e7ed753413ef870f693430390b17d548d8;hp=6019d0a3b2b677c8e616b5278d290653fb3e1f7c;hb=0eb88fc5281804773e2a0c7a488a4452463535ce;hpb=661078ddbde3ce0f3b06e95642fbb9b5fef7dca1 diff --git a/Makefile.in b/Makefile.in index 6019d0a3..381ca9e7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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.