ncurses 5.9 - patch 20131012
[ncurses.git] / Makefile.in
index d33e978a600d75b630a8812a85f8b10713480eee..6c5b6f96b8377b70077acffed9563aa56dd49c2d 100644 (file)
@@ -1,6 +1,6 @@
-# $Id: Makefile.in,v 1.35 2012/10/06 17:31:01 tom Exp $
+# $Id: Makefile.in,v 1.37 2013/08/03 22:58:52 tom Exp $
 ##############################################################################
-# Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.                #
+# Copyright (c) 1998-2012,2013 Free Software Foundation, Inc.                #
 #                                                                            #
 # Permission is hereby granted, free of charge, to any person obtaining a    #
 # copy of this software and associated documentation files (the "Software"), #
@@ -54,9 +54,12 @@ datarootdir  = @datarootdir@
 bindir         = @bindir@
 ticdir         = @TERMINFO@
 includedir     = @includedir@
+includesubdir  = @includesubdir@
 libdir         = @libdir@
 mandir         = @mandir@
 
+INCLUDEDIR     = ${DESTDIR}${includedir}${includesubdir}
+
 INSTALL                = @INSTALL@
 INSTALL_DATA   = @INSTALL_DATA@
 
@@ -76,17 +79,17 @@ preinstall :
        @ echo ''
        @ echo '      bin directory: '$(bindir)
        @ echo '      lib directory: '$(libdir)
-       @ echo '  include directory: '$(includedir)
+       @ echo '  include directory: '$(INCLUDEDIR)
        @ echo '      man directory: '$(mandir)
 @MAKE_TERMINFO@        @ echo ' terminfo directory: '$(ticdir)
        @ echo ''
-       @ test "$(includedir)" = "$(prefix)/include" || \
+       @ 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 || \
+       @ 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 || \
+       @ test ! -f $(INCLUDEDIR)/curses.h || \
+               fgrep NCURSES_VERSION $(INCLUDEDIR)/curses.h >/dev/null || \
                echo '** Will overwrite non-ncurses curses.h'
 
 distclean \