X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=misc%2FMakefile.in;h=a62eb33752c5c5f3d169ecefd7776bef60586a47;hp=15de656f7d43d516e5a8720b4a441744c463e933;hb=1f5d7223f670165669ab049909fc665b6acd2a04;hpb=41677b308e138027b7e435f741ee7fe5651237b0 diff --git a/misc/Makefile.in b/misc/Makefile.in index 15de656f..a62eb337 100644 --- a/misc/Makefile.in +++ b/misc/Makefile.in @@ -1,6 +1,6 @@ -# $Id: Makefile.in,v 1.53 2010/05/15 20:25:20 tom Exp $ +# $Id: Makefile.in,v 1.63 2015/08/05 23:15:41 tom Exp $ ############################################################################## -# Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. # +# Copyright (c) 1998-2014,2015 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"), # @@ -42,7 +42,8 @@ # turn off _all_ suffix rules; we'll generate our own .SUFFIXES : -SHELL = /bin/sh +SHELL = @SHELL@ +VPATH = @srcdir@ THIS = Makefile CF_MFLAGS = @cf_cv_makeflags@ @@ -55,7 +56,11 @@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ libdir = @libdir@ +datarootdir = @datarootdir@ datadir = @datadir@ +includesubdir = @includesubdir@ + +INCLUDEDIR = $(DESTDIR)$(includedir)$(includesubdir) tabsetdir = $(datadir)/tabset ticdir = @TERMINFO@ @@ -63,7 +68,8 @@ ticfile = $(ticdir).db source = @TERMINFO_SRC@ INSTALL = @INSTALL@ -INSTALL_PROG = @INSTALL_SCRIPT@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_DATA = @INSTALL_DATA@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ @@ -75,7 +81,7 @@ depend : sources :: terminfo.tmp -install : install.data install.libs +install : @MISC_INSTALL_DATA@ install.libs install.data : terminfo.tmp \ $(DESTDIR)$(libdir) \ @@ -102,7 +108,7 @@ install.data : terminfo.tmp \ NCURSES_CONFIG = ncurses@DFT_ARG_SUFFIX@@cf_cv_abi_version@-config install.libs :: $(DESTDIR)$(bindir) ncurses-config - $(INSTALL_PROG) ncurses-config $(DESTDIR)$(bindir)/$(NCURSES_CONFIG) + $(INSTALL_SCRIPT) ncurses-config $(DESTDIR)$(bindir)/$(NCURSES_CONFIG) @MAKE_PC_FILES@install.libs :: pc-files $(DESTDIR)$(PKG_CONFIG_LIBDIR) @MAKE_PC_FILES@ $(SHELL) -c 'for name in *.pc; do $(INSTALL_DATA) $$name $(DESTDIR)$(PKG_CONFIG_LIBDIR)/$$name; done' @@ -118,7 +124,8 @@ terminfo.tmp : run_tic.sed $(source) run_tic.sed : WHICH_XTERM=@WHICH_XTERM@ \ - ticdir=${ticdir} \ + XTERM_KBS=@XTERM_KBS@ \ + datadir=${datadir} \ $(SHELL) $(srcdir)/gen_edit.sh >$@ $(DESTDIR)$(bindir) \ @@ -128,7 +135,7 @@ $(DESTDIR)$(tabsetdir) \ $(DESTDIR)$(PKG_CONFIG_LIBDIR) : mkdir -p $@ -uninstall : uninstall.data uninstall.libs +uninstall : @MISC_UNINSTALL_DATA@ uninstall.libs uninstall.data : -test -d $(DESTDIR)$(tabsetdir) && rm -rf $(DESTDIR)$(tabsetdir) @@ -137,7 +144,7 @@ uninstall.data : uninstall.libs : -rm -f $(DESTDIR)$(bindir)/$(NCURSES_CONFIG) -@MAKE_PC_FILES@ $(SHELL) 'for name in *.pc; do rm -f $(DESTDIR)$(PKG_CONFIG_LIBDIR)/$$name; done' +@MAKE_PC_FILES@ $(SHELL) -c 'for name in *.pc; do rm -f $(DESTDIR)$(PKG_CONFIG_LIBDIR)/$$name; done' tags :