etc/services - sync with NetBSD-8
[minix.git] / external / bsd / bind / dist / doc / misc / Makefile.in
blobe29a98458fa242dcecefb04b9e15c6ca1220628a
1 # Copyright (C) 2004, 2007, 2009, 2012 Internet Systems Consortium, Inc. ("ISC")
2 # Copyright (C) 2001 Internet Software Consortium.
4 # Permission to use, copy, modify, and/or distribute this software for any
5 # purpose with or without fee is hereby granted, provided that the above
6 # copyright notice and this permission notice appear in all copies.
8 # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
9 # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10 # AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
11 # INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12 # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
13 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14 # PERFORMANCE OF THIS SOFTWARE.
16 # Id: Makefile.in,v 1.9 2009/07/10 23:47:58 tbox Exp
18 srcdir = @srcdir@
19 VPATH = @srcdir@
20 top_srcdir = @top_srcdir@
22 @BIND9_MAKE_RULES@
24 PERL = @PERL@
26 MANOBJS = options
28 doc man:: ${MANOBJS}
30 docclean manclean maintainer-clean::
31 rm -f options
33 # Do not make options depend on ../../bin/tests/cfg_test, doing so
34 # will cause excessively clever versions of make to attempt to build
35 # that program right here, right now, if it is missing, which will
36 # cause make doc to bomb.
38 CFG_TEST = ../../bin/tests/cfg_test
40 options: FORCE
41 if test -x ${CFG_TEST} ; \
42 then \
43 ${CFG_TEST} --named --grammar > $@.raw ; \
44 ${PERL} ${srcdir}/sort-options.pl < $@.raw > $@.sorted ; \
45 ${PERL} ${srcdir}/format-options.pl < $@.sorted > $@.new ; \
46 mv -f $@.new $@ ; \
47 rm -f $@.raw $@.sorted ; \
48 else \
49 rm -f $@.new $@.raw $@.sorted ; \