Permit 'make dist' with '--disable-gtk-doc' as we do not dist gtk-doc output.
authorshort <>
Wed, 20 Aug 2003 13:04:09 +0000 (13:04 +0000)
committershort <>
Wed, 20 Aug 2003 13:04:09 +0000 (13:04 +0000)
autogen.pl

index a3269ad..be8aeed 100755 (executable)
@@ -77,6 +77,7 @@ AutoGen->run(
                                        for my $keyword (qw(EXTRA_DIST CLEANFILES)) {
                                                $gtk_doc_make=~s/^$keyword =/$keyword +=/m or confess "$keyword not found in $fname";
                                                }
+                                       $gtk_doc_make=~s/^(dist-hook): dist-check-gtkdoc (dist-hook-local)$/$1: $2\n\nDISABLED_$&/m;
                                        AutoGen::_writefile "$fname-captive",$gtk_doc_make;
                                        }
                                1;