]> ncurses.scripts.mit.edu Git - ncurses.git/blob - Ada95/doc/Makefile.in
3ef39000e7ba1a58c610683e49f5bf60263e35e6
[ncurses.git] / Ada95 / doc / Makefile.in
1 # $Id: Makefile.in,v 1.7 2020/02/02 23:34:34 tom Exp $
2 ##############################################################################
3 # Copyright 2019,2020 Thomas E. Dickey                                       #
4 # Copyright 2011-2015,2018 Free Software Foundation, Inc.                    #
5 #                                                                            #
6 # Permission is hereby granted, free of charge, to any person obtaining a    #
7 # copy of this software and associated documentation files (the "Software"), #
8 # to deal in the Software without restriction, including without limitation  #
9 # the rights to use, copy, modify, merge, publish, distribute, distribute    #
10 # with modifications, sublicense, and/or sell copies of the Software, and to #
11 # permit persons to whom the Software is furnished to do so, subject to the  #
12 # following conditions:                                                      #
13 #                                                                            #
14 # The above copyright notice and this permission notice shall be included in #
15 # all copies or substantial portions of the Software.                        #
16 #                                                                            #
17 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
18 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,   #
19 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL    #
20 # THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER      #
21 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING    #
22 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER        #
23 # DEALINGS IN THE SOFTWARE.                                                  #
24 #                                                                            #
25 # Except as contained in this notice, the name(s) of the above copyright     #
26 # holders shall not be used in advertising or otherwise to promote the sale, #
27 # use or other dealings in this Software without prior written               #
28 # authorization.                                                             #
29 ##############################################################################
30 #
31 # Author: Thomas E. Dickey
32 #
33 # Makefile for AdaCurses manual pages.
34
35 SHELL           = @SHELL@
36 VPATH           = @srcdir@
37
38 DESTDIR         = @DESTDIR@
39 srcdir          = @srcdir@
40 prefix          = @prefix@
41 exec_prefix     = @exec_prefix@
42 datarootdir     = @datarootdir@
43 datadir         = @datadir@
44 mandir          = @mandir@
45
46 INSTALL         = @INSTALL@ @INSTALL_OPT_O@
47 INSTALL_DATA    = @INSTALL_DATA@
48
49 DFT_ARG_SUFFIX  = @DFT_ARG_SUFFIX@
50
51 THIS            = @ADA_LIBNAME@
52 DOCDIR          = $(DESTDIR)$(datadir)/doc/$(THIS)
53 MANDIR          = $(DESTDIR)$(mandir)/man1
54
55 all \
56 sources \
57 depend \
58 tags :
59
60 $(DOCDIR) \
61 $(MANDIR) :
62         mkdir -p $@
63
64 install install.man : $(MANDIR)
65         $(INSTALL_DATA) adacurses${DFT_ARG_SUFFIX}-config.1 $(MANDIR)
66
67 uninstall uninstall.man :
68         -rm -f $(MANDIR)/adacurses${DFT_ARG_SUFFIX}-config.1
69
70 # HTML documentation is optional, usually in a separate package.
71 install.html : $(DOCDIR)
72         cd $(srcdir) && tar -cf - *.htm* ada | tar -C $(DOCDIR) -xf -
73
74 uninstall.html :
75         -rm -rf $(DOCDIR)
76
77 mostlyclean :
78         -rm -f core tags TAGS *~ *.bak *.ln *.atac trace
79
80 clean:  mostlyclean
81
82 distclean realclean: clean
83         -rm -f Makefile *-config.1