X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=misc%2FMakefile.in;h=15480ee77b7b9ca22977fe4948a7ee30bee0dea2;hp=76f67fc2a25315d9cc00267a38a73b797a1e2098;hb=c37d51504d7298e4de06f166ecd127b7fcc869f4;hpb=f70db18a0c3c6a828d8a5999be37239f01c9d98a diff --git a/misc/Makefile.in b/misc/Makefile.in index 76f67fc2..15480ee7 100644 --- a/misc/Makefile.in +++ b/misc/Makefile.in @@ -1,6 +1,6 @@ -# $Id: Makefile.in,v 1.42 2006/12/31 00:11:06 tom Exp $ +# $Id: Makefile.in,v 1.48 2009/01/03 23:52:41 tom Exp $ ############################################################################## -# Copyright (c) 1998-2004,2006 Free Software Foundation, Inc. # +# Copyright (c) 1998-2008,2009 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"), # @@ -66,9 +66,11 @@ ticfile = $(ticdir).db source = @TERMINFO_SRC@ INSTALL = @INSTALL@ -INSTALL_PROG = @INSTALL_PROGRAM@ +INSTALL_PROG = @INSTALL_SCRIPT@ INSTALL_DATA = @INSTALL_DATA@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ + ################################################################################ all : terminfo.tmp @@ -103,9 +105,16 @@ install.data : terminfo.tmp \ NCURSES_CONFIG = ncurses@DFT_ARG_SUFFIX@@cf_cv_abi_version@-config -install.libs : $(DESTDIR)$(bindir) ncurses-config +install.libs :: $(DESTDIR)$(bindir) ncurses-config $(INSTALL_PROG) ncurses-config $(DESTDIR)$(bindir)/$(NCURSES_CONFIG) +@MAKE_PC_FILES@install.libs :: pc-files +@MAKE_PC_FILES@ $(SHELL) -c 'for name in *.pc; do $(INSTALL_DATA) $$name $(PKG_CONFIG_LIBDIR)/$$name; done' + +@MAKE_PC_FILES@pc-files : +@MAKE_PC_FILES@ $(SHELL) ./gen-pkgconfig +@MAKE_PC_FILES@ touch $@ + terminfo.tmp : run_tic.sed $(source) echo '** adjusting tabset paths' sed -f run_tic.sed $(source) >terminfo.tmp @@ -119,7 +128,7 @@ $(DESTDIR)$(bindir) \ $(DESTDIR)$(libdir) \ $(DESTDIR)$(datadir) \ $(DESTDIR)$(tabsetdir) : - $(SHELL) $(top_srcdir)/mkinstalldirs $@ + $(SHELL) $(top_srcdir)/mkdirs.sh $@ uninstall : uninstall.data uninstall.libs @@ -130,6 +139,7 @@ uninstall.data : uninstall.libs : -rm -f $(DESTDIR)$(bindir)/$(NCURSES_CONFIG) +@MAKE_PC_FILES@ $(SHELL) 'for name in *.pc; do rm -f $(PKG_CONFIG_LIBDIR)/$$name; done' tags : @@ -138,11 +148,13 @@ tags : mostlyclean : -rm -f terminfo.tmp -rm -f run_tic.sed +@MAKE_PC_FILES@ -rm -f *.pc pc-files -rm -f core tags TAGS *~ *.bak *.ln *.atac trace clean :: mostlyclean distclean : clean +@MAKE_PC_FILES@ -rm -f gen-pkgconfig -rm -f Makefile run_tic.sh ncurses-config realclean : distclean