1174993Srafan# $Id: Makefile.in,v 1.41 2007/03/31 15:54:06 tom Exp $ 250276Speter############################################################################## 3174993Srafan# Copyright (c) 1998-2006,2007 Free Software Foundation, Inc. # 450276Speter# # 550276Speter# Permission is hereby granted, free of charge, to any person obtaining a # 650276Speter# copy of this software and associated documentation files (the "Software"), # 750276Speter# to deal in the Software without restriction, including without limitation # 850276Speter# the rights to use, copy, modify, merge, publish, distribute, distribute # 950276Speter# with modifications, sublicense, and/or sell copies of the Software, and to # 1050276Speter# permit persons to whom the Software is furnished to do so, subject to the # 1150276Speter# following conditions: # 1250276Speter# # 1350276Speter# The above copyright notice and this permission notice shall be included in # 1450276Speter# all copies or substantial portions of the Software. # 1550276Speter# # 1650276Speter# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # 1750276Speter# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # 1850276Speter# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # 1950276Speter# THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # 2050276Speter# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # 2150276Speter# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # 2250276Speter# DEALINGS IN THE SOFTWARE. # 2350276Speter# # 2450276Speter# Except as contained in this notice, the name(s) of the above copyright # 2550276Speter# holders shall not be used in advertising or otherwise to promote the sale, # 2650276Speter# use or other dealings in this Software without prior written # 2750276Speter# authorization. # 2850276Speter############################################################################## 2950276Speter# 30166124Srafan# Author: Thomas E. Dickey 1996,1997 3150276Speter# 3250276Speter# Makefile for ncurses manual pages. 3350276Speter# 3450276Speter# NOTE: When you add or rename a man page, make sure you update both 3550276Speter# the top-level MANIFEST and any man/*.renames files! 3650276Speter 3750276SpeterSHELL = /bin/sh 3850276Speter 3966963SpeterDESTDIR = @DESTDIR@ 4050276Spetersrcdir = @srcdir@ 4150276Speterprefix = @prefix@ 4250276Speterexec_prefix = @exec_prefix@ 4350276Speterdatadir = @datadir@ 4450276Spetermandir = @mandir@ 4550276Speter 4650276SpeterINSTALL = @INSTALL@ 4750276SpeterINSTALL_DATA = @INSTALL_DATA@ 4850276Speter 4950276Speterall \ 5097049Spetersources : terminfo.5 5197049Speterdepend : 52166124Srafantags : 5350276Speter 5466963Speter$(DESTDIR)$(mandir) : 55174993Srafan sh $(srcdir)/../mkdirs.sh $@ 5650276Speter 5766963SpeterEDITARGS = $(DESTDIR)$(mandir) $(srcdir) terminfo.5 $(srcdir)/*.[0-9]* 5862449Speter 5966963Speterinstall install.man : terminfo.5 $(DESTDIR)$(mandir) 60166124Srafan sh ../edit_man.sh normal installing $(EDITARGS) 6150276Speter 6250276Speteruninstall uninstall.man : 63166124Srafan -sh ../edit_man.sh normal removing $(EDITARGS) 6450276Speter 6550276Speter# We compose terminfo.5 from the real sources... 6697049SpeterCAPLIST=$(srcdir)/../include/@TERMINFO_CAPS@ 6750276Speterterminfo.5: $(srcdir)/terminfo.head $(CAPLIST) $(srcdir)/terminfo.tail Makefile $(srcdir)/MKterminfo.sh 6850276Speter sh $(srcdir)/MKterminfo.sh $(srcdir)/terminfo.head $(CAPLIST) $(srcdir)/terminfo.tail >terminfo.5 6950276Speter 7050276Spetermostlyclean : 7197049Speter -rm -f core tags TAGS *~ *.bak *.ln *.atac trace 7250276Speter 7350276Speterclean: mostlyclean 7450276Speter rm -f terminfo.5 7550276Speter 76166124Srafan../edit_man.sed : make_sed.sh @MANPAGE_RENAMES@ 77166124Srafan sh $(srcdir)/make_sed.sh @MANPAGE_RENAMES@ >../edit_man.sed 7897049Speter 7950276Speterdistclean realclean: clean 80174993Srafan rm -f Makefile ../edit_man.* ../man_alias.* 81