From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 8592743589 for ; Wed, 16 Nov 2022 17:21:31 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id A62BF68BB47; Wed, 16 Nov 2022 19:21:28 +0200 (EET) Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id EF13E68B6B0 for ; Wed, 16 Nov 2022 19:21:21 +0200 (EET) Received: by mail-ej1-f48.google.com with SMTP id f27so45823184eje.1 for ; Wed, 16 Nov 2022 09:21:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/n4Ra+xfJEEwTXG9f1ARh9MhTBoN0IXGYaj42i1JclQ=; b=JEf3ZS30kxvjxWXq1bMxVNolGBnx+VI6Jt7l6QV00nkJFGsmgZ1mxfm4Wzcf4AZS5w NvMhT2iTkLuz5POrvEVTjH8UPCKkb31q9CXoO4bW/xEaOvy4090lrNOHcKVI0CLBadX3 e+AyqU1qNLn4mf3SuNhTlhU6At0nTrbSJCULxYnhDDCEC933uYrXe2HgQ8ZtNNkcDx+a pGev8jCHoACNeYPJE3oz8r4wIda9xjluqYn55jN2zNSGy90KSc7vErujueLyG2vl4N87 1lMn9sqqSOV9fqoGCrKPDvimUn3bmR9B4hatCMRavKCy4z+wuiLoWO9VgFQ+BrGbGNMP AiOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/n4Ra+xfJEEwTXG9f1ARh9MhTBoN0IXGYaj42i1JclQ=; b=2wnohAbP7RqPQmvEMcCnVi2kjBpHfKYj8SZylkBvRhw8F4hEAA6f5GhW07X7XEK+we tcgKjf8kyQuA70CWN4SV1tmj4nRSFKeTEInCHwvJQK+4HRAlVE0VxwkU+zzcavx53nSp hIkY4zst5h1h0gwBvmQn1gsnBm5m5XCTiN8PSlgieZljzOohK+RlCoFWdoz2EpPsTaHb njASRYFSu/D2P+KdaiNrYvwJaCqV4fVEGCis3rNi8BiG4KnfnA1VaLlYuOo459Ai7GDi kzA4U1uW8SQch2DugHIp0RGrtpKgFgn5XWcO+uHoBmbVibN8/0Kv93x1Rx/1FJm9bJMP nHqg== X-Gm-Message-State: ANoB5pm9lkPjPUYt50mQB89mPBMKz9Mf+9XzvckYYtOl7XVVBeOKQM+R yiK4W/T3bE9VyZMOehOpVKm9TDAm0Do= X-Google-Smtp-Source: AA0mqf6tPlFVzuY9x6Dtp5pHsoB1gXbHpNLSCnwmgsyuj05bho/YOgqXde0poI11szHygqYbf8ftZw== X-Received: by 2002:a17:907:d608:b0:7ad:934e:d542 with SMTP id wd8-20020a170907d60800b007ad934ed542mr20157266ejc.20.1668619280291; Wed, 16 Nov 2022 09:21:20 -0800 (PST) Received: from [192.168.1.104] (84-112-104-25.cable.dynamic.surfer.at. [84.112.104.25]) by smtp.gmail.com with ESMTPSA id v17-20020a1709067d9100b0074134543f82sm7170492ejo.90.2022.11.16.09.21.19 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Nov 2022 09:21:19 -0800 (PST) From: Marvin Scholz To: ffmpeg-devel@ffmpeg.org Date: Wed, 16 Nov 2022 18:21:18 +0100 X-Mailer: MailMate (1.14r5898) Message-ID: <489EA9F4-F374-4630-91FA-055EE0142ED6@gmail.com> In-Reply-To: <20220924210913.5007-1-epirat07@gmail.com> References: <20220924210913.5007-1-epirat07@gmail.com> MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH] Makefile: Build complete doc with Doxygen X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Marvin Scholz Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 24 Sep 2022, at 23:09, Marvin Scholz wrote: > Add DISABLEDINSTHEADERS, a variable containing the headers of disabled > libraries. This is needed so that Doxygen does not generate incomplete > documentation when a component is disabled, which is quite unexpected > behaviour and results in warnings due to, among other things, broken > references. > --- > Makefile | 10 ++++++++++ > doc/Makefile | 2 +- > 2 files changed, 11 insertions(+), 1 deletion(-) > > diff --git a/Makefile b/Makefile > index 61f79e27ae..26714950b7 100644 > --- a/Makefile > +++ b/Makefile > @@ -110,7 +110,17 @@ include $(SRC_PATH)/$(1)/Makefile > include $(SRC_PATH)/ffbuild/library.mak > endef > > +define DODISABLEDSUBDIR > +$(foreach V,$(SUBDIR_VARS),$(eval $(call RESET,$(V)))) > +SUBDIR := $(1)/ > +include $(SRC_PATH)/$(1)/Makefile > +DISABLEDINSTHEADERS := $$(DISABLEDINSTHEADERS) $$(HEADERS:%=$$(SUBDIR)%) > +endef > + > +DISABLEDFFLIBS := $(filter-out $(FFLIBS),$(ALLFFLIBS)) > + > $(foreach D,$(FFLIBS),$(eval $(call DOSUBDIR,lib$(D)))) > +$(foreach D,$(DISABLEDFFLIBS),$(eval $(call DODISABLEDSUBDIR,lib$(D)))) > > include $(SRC_PATH)/fftools/Makefile > include $(SRC_PATH)/doc/Makefile > diff --git a/doc/Makefile b/doc/Makefile > index 25774c7bad..d71a02e408 100644 > --- a/doc/Makefile > +++ b/doc/Makefile > @@ -100,7 +100,7 @@ doc/%.3: doc/%.pod $(GENTEXI) > > $(DOCS) doc/doxy/html: | doc/ > > -DOXY_INPUT = $(INSTHEADERS) > +DOXY_INPUT = $(INSTHEADERS) $(DISABLEDINSTHEADERS) > DOXY_INPUT_DEPS = $(addprefix $(SRC_PATH)/, $(DOXY_INPUT)) ffbuild/config.mak > > doc/doxy/html: TAG = DOXY > -- > 2.37.0 (Apple Git-136) Ping for review _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".