update to 9.7.1-P2
[tridge/bind9.git] / doc / misc / Makefile.in
index 501e3befd5220ed001e08bae3936b9d0b07b1dec..ebd16aa89177949ff77bf17117acfb8f693f672f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2004, 2007  Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2004, 2007, 2009  Internet Systems Consortium, Inc. ("ISC")
 # Copyright (C) 2001  Internet Software Consortium.
 #
 # Permission to use, copy, modify, and/or distribute this software for any
@@ -13,7 +13,7 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.7 2007/09/24 04:21:59 marka Exp $
+# $Id: Makefile.in,v 1.9 2009/07/10 23:47:58 tbox Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
@@ -38,11 +38,13 @@ docclean manclean maintainer-clean::
 CFG_TEST = ../../bin/tests/cfg_test
 
 options: FORCE
-       if test -x ${CFG_TEST} && \
-          ${CFG_TEST} --named --grammar | \
-          ${PERL} ${srcdir}/sort-options.pl | \
-          ${PERL} ${srcdir}/format-options.pl >$@.new ; then \
+       if test -x ${CFG_TEST} ; \
+       then \
+               ${CFG_TEST} --named --grammar > $@.raw ; \
+               ${PERL} ${srcdir}/sort-options.pl < $@.raw > $@.sorted ; \
+               ${PERL} ${srcdir}/format-options.pl < $@.sorted > $@.new ; \
                mv -f $@.new $@ ; \
+               rm -f $@.raw $@.sorted ; \
        else \
-               rm -f $@.new ; \
+               rm -f $@.new $@.raw $@.sorted ; \
        fi