ignore some files
[tridge/bind9.git] / contrib / idn / idnkit-1.0-src / man / Makefile.in
1 # $Id: Makefile.in,v 1.1.1.1 2003/06/04 00:27:14 marka Exp $
2 #
3 # Copyright (c) 2000 Japan Network Information Center.  All rights reserved.
4 #  
5 # By using this file, you agree to the terms and conditions set forth bellow.
6
7 #                       LICENSE TERMS AND CONDITIONS 
8
9 # The following License Terms and Conditions apply, unless a different
10 # license is obtained from Japan Network Information Center ("JPNIC"),
11 # a Japanese association, Kokusai-Kougyou-Kanda Bldg 6F, 2-3-4 Uchi-Kanda,
12 # Chiyoda-ku, Tokyo 101-0047, Japan.
13
14 # 1. Use, Modification and Redistribution (including distribution of any
15 #    modified or derived work) in source and/or binary forms is permitted
16 #    under this License Terms and Conditions.
17
18 # 2. Redistribution of source code must retain the copyright notices as they
19 #    appear in each source code file, this License Terms and Conditions.
20
21 # 3. Redistribution in binary form must reproduce the Copyright Notice,
22 #    this License Terms and Conditions, in the documentation and/or other
23 #    materials provided with the distribution.  For the purposes of binary
24 #    distribution the "Copyright Notice" refers to the following language:
25 #    "Copyright (c) 2000-2002 Japan Network Information Center.  All rights reserved."
26
27 # 4. The name of JPNIC may not be used to endorse or promote products
28 #    derived from this Software without specific prior written approval of
29 #    JPNIC.
30
31 # 5. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY JPNIC
32 #    "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
33 #    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
34 #    PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL JPNIC BE LIABLE
35 #    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
36 #    CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37 #    SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
38 #    BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
39 #    WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
40 #    OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
41 #    ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
42
43 top_builddir = ..
44
45 srcdir  = @srcdir@
46 VPATH   = @srcdir@
47
48 prefix  = @prefix@
49 exec_prefix = @exec_prefix@
50
51 sysconfdir  = @sysconfdir@
52 mandir = @mandir@
53 man3dir = $(mandir)/man3
54 man5dir = $(mandir)/man5
55
56 INSTALL = @INSTALL@
57 INSTALL_PROGRAM = @INSTALL_PROGRAM@
58 INSTALL_DATA = @INSTALL_DATA@
59 MKINSTALLDIRS = @top_srcdir@/mkinstalldirs
60 SHELL = @SHELL@
61
62 @LITEONLY_TRUE@all: libidnkitlite.3 idn.conf.5 idnrc.5 idnalias.conf.5
63 @LITEONLY_FALSE@all: libidnkitlite.3 idn.conf.5 idnrc.5  idnalias.conf.5 libidnkit.3
64
65 libidnkit.3: libidnkit.3.in
66         sed 's%[@]sysconfdir[@]%$(sysconfdir)%' < $(srcdir)/libidnkit.3.in > $@
67 libidnkitlite.3: libidnkit.3.in
68         sed 's%[@]sysconfdir[@]%$(sysconfdir)%' < $(srcdir)/libidnkit.3.in > $@
69 idn.conf.5: idn.conf.5.in
70         sed 's%[@]sysconfdir[@]%$(sysconfdir)%' < $(srcdir)/idn.conf.5.in > $@
71 idnrc.5: idn.conf.5.in
72         sed 's%[@]sysconfdir[@]%$(sysconfdir)%' < $(srcdir)/idn.conf.5.in > $@
73 idnalias.conf.5:  idn.conf.5.in
74         sed 's%[@]sysconfdir[@]%$(sysconfdir)%' < $(srcdir)/idn.conf.5.in > $@
75
76 @LITEONLY_TRUE@@COMPAT_TRUE@install: all install-common install-compat-common
77 @LITEONLY_FALSE@@COMPAT_TRUE@install: all install-common install-nolite install-compat-common install-compat-nolite
78 @LITEONLY_TRUE@@COMPAT_FALSE@install: all install-common
79 @LITEONLY_FALSE@@COMPAT_FALSE@install: all install-common install-nolite
80
81 install-common:
82         $(MKINSTALLDIRS) $(DESTDIR)$(man3dir)
83         $(INSTALL_DATA) libidnkitlite.3 $(DESTDIR)$(man3dir)/libidnkitlite.3
84         $(MKINSTALLDIRS) $(DESTDIR)$(man5dir)
85         $(INSTALL_DATA) idn.conf.5 $(DESTDIR)$(man5dir)/idn.conf.5
86         $(INSTALL_DATA) idnrc.5 $(DESTDIR)$(man5dir)/idnrc.5
87         $(INSTALL_DATA) idnalias.conf.5 $(DESTDIR)$(man5dir)/idnalias.conf.5
88
89 install-nolite:
90         $(MKINSTALLDIRS) $(DESTDIR)$(man3dir)
91         $(INSTALL_DATA) libidnkit.3 $(DESTDIR)$(man3dir)/libidnkit.3
92
93 install-compat-common:
94         src=$(DESTDIR)$(man3dir)/libidnkitlite.3; \
95         dst=$(DESTDIR)$(man3dir)/libmdnlite.3; \
96         rm -f $$dst; \
97         ln $$src $$dst || cp $$src $$dst
98         src=$(DESTDIR)$(man5dir)/idn.conf.5; \
99         dst=$(DESTDIR)$(man5dir)/mdn.conf.5; \
100         rm -f $$dst; \
101         ln $$src $$dst || cp $$src $$dst
102
103 install-compat-nolite:
104         src=$(DESTDIR)$(man3dir)/libidnkit.3; \
105         dst=$(DESTDIR)$(man3dir)/libmdn.3; \
106         rm -f $$dst; \
107         ln $$src $$dst || cp $$src $$dst
108
109 clean:
110         rm -f idn.conf.5 idnrc.5 idnalias.conf.5 libidnkit.3 libidnkitlite.3
111         rm -f *~
112
113 distclean: clean
114         rm -f Makefile
115
116 test check: