]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove // not configured when generating doc/misc/options
authorOndřej Surý <ondrej@isc.org>
Mon, 22 Jun 2020 10:41:01 +0000 (12:41 +0200)
committerOndřej Surý <ondrej@isc.org>
Mon, 22 Jun 2020 11:44:05 +0000 (11:44 +0000)
The doc/misc/options is used to generate a file describing all
configuration options. Currently, the file contents could differ
based on ./configure option which is kind of suboptimal.

We already removed the "// not configured" from the options.active, and
this time we remove generation of the string altogether.

doc/misc/Makefile.am

index 26a3980b58608d420ed949b89a2e8135a88fc717..04790912cb684fa213e8e8943366f0cb6fdceb77 100644 (file)
@@ -62,7 +62,7 @@ EXTRA_DIST =                  \
 MAINTAINERCLEANFILES = $(BUILT_SOURCES)
 
 options: cfg_test
-       $(AM_V_CFG_TEST)$(builddir)/cfg_test --named --grammar | $(PERL) $(srcdir)/sort-options.pl | $(PERL) $(srcdir)/format-options.pl > $@
+       $(AM_V_CFG_TEST)$(builddir)/cfg_test --named --grammar | $(PERL) $(srcdir)/sort-options.pl | $(PERL) $(srcdir)/format-options.pl --strip-not-configured > $@
 
 options.active: cfg_test
        $(AM_V_CFG_TEST)$(builddir)/cfg_test --named --grammar --active | $(PERL) $(srcdir)/sort-options.pl | $(PERL) $(srcdir)/format-options.pl --strip-not-configured > $@