1 # $Id: Makefile.in,v 1.20 1996/08/04 01:16:40 tom Exp $
2 ################################################################################
3 # Copyright 1996 by Thomas E. Dickey <dickey@clark.net> #
4 # All Rights Reserved. #
6 # Permission to use, copy, modify, and distribute this software and its #
7 # documentation for any purpose and without fee is hereby granted, provided #
8 # that the above copyright notice appear in all copies and that both that #
9 # copyright notice and this permission notice appear in supporting #
10 # documentation, and that the name of the above listed copyright holder(s) not #
11 # be used in advertising or publicity pertaining to distribution of the #
12 # software without specific, written prior permission. THE ABOVE LISTED #
13 # COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, #
14 # INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT #
15 # SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY SPECIAL, #
16 # INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM #
17 # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE #
18 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR #
19 # PERFORMANCE OF THIS SOFTWARE. #
20 ################################################################################
21 # Makefile for ncurses manual pages.
23 # NOTE: When you add or rename a man page, make sure you update both
24 # the top-level MANIFEST and any man/*.renames files!
28 INSTALL_PREFIX = @INSTALL_PREFIX@
31 exec_prefix = @exec_prefix@
35 ticdir = $(datadir)/terminfo
38 INSTALL_DATA = @INSTALL_DATA@
42 $(INSTALL_PREFIX)$(mandir) :
43 $(srcdir)/../mkinstalldirs $@
45 install install.man : terminfo.5 $(INSTALL_PREFIX)$(mandir)
46 sh ./edit_man.sh $(INSTALL_PREFIX)$(mandir) terminfo.5 $(srcdir)/*.[0-9]*
48 # We compose terminfo.5 from the real sources...
49 CAPLIST=$(srcdir)/../include/Caps
50 terminfo.5: $(srcdir)/terminfo.head $(CAPLIST) $(srcdir)/terminfo.tail Makefile $(srcdir)/MKterminfo.sh
51 sh $(srcdir)/MKterminfo.sh $(srcdir)/terminfo.head $(CAPLIST) $(srcdir)/terminfo.tail >terminfo.5
56 distclean realclean: clean
57 rm -f Makefile edit_man.*