From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oHaMDLHrDGMYxwAAbAwnHQ (envelope-from ) for ; Mon, 29 Aug 2022 18:39:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MBYwDLHrDGMKFQEAauVa8A (envelope-from ) for ; Mon, 29 Aug 2022 18:39:13 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0FC2329240 for ; Mon, 29 Aug 2022 18:39:13 +0200 (CEST) Received: from localhost ([::1]:48054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oShn5-0008PL-Vc for larch@yhetil.org; Mon, 29 Aug 2022 12:39:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oShmx-0008Os-0F for guix-patches@gnu.org; Mon, 29 Aug 2022 12:39:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43954) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oShmw-0005SN-Ny for guix-patches@gnu.org; Mon, 29 Aug 2022 12:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oShmw-0007z1-EY for guix-patches@gnu.org; Mon, 29 Aug 2022 12:39:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57280] [PATCH 0/3] Add documentation-files argument to emacs build system. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 29 Aug 2022 16:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57280 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Andrew Tropin Cc: 57280@debbugs.gnu.org Received: via spool by 57280-submit@debbugs.gnu.org id=B57280.166179111330651 (code B ref 57280); Mon, 29 Aug 2022 16:39:02 +0000 Received: (at 57280) by debbugs.gnu.org; 29 Aug 2022 16:38:33 +0000 Received: from localhost ([127.0.0.1]:33703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oShmS-0007yI-OW for submit@debbugs.gnu.org; Mon, 29 Aug 2022 12:38:32 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:39843) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oShmR-0007y5-10 for 57280@debbugs.gnu.org; Mon, 29 Aug 2022 12:38:31 -0400 Received: by mail-ed1-f67.google.com with SMTP id z8so2071607edb.6 for <57280@debbugs.gnu.org>; Mon, 29 Aug 2022 09:38:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc; bh=vAa8kyeAEyOOOPDSAGnl9wsgnFbffrHI7dSqjjkWolY=; b=BgEsWovMMFUapo9D491KubBY3KY0w5iyttCz6AGCyJifRovjuLXlSQBucyMunYFjqM ey5AZKQVDlMoaSYwrpWh79Xrc/jcA2BKGgi75qZ5Qm2XeTf69Iiz0u+HtPbQjeEimR7U xPpA9rNiWZ9r9CvZmYYocVZ6kLIMI/yAm8R5BVnflkshJcEHCdkLPhBrRm4nIXYNvF1n ZnEXVdhpjlZ2nLcELYScGVGZzuqZeIOwwG1hkqB2rNpjPzmMIr9fY7yI1nF/EP9Rui7j hZO+burHM9aJrKdIHfjsNaIawpA788wA5aItYML6s4FqrhZ8OXHMPh/L4Mo3Ef0HlRCG PAUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc; bh=vAa8kyeAEyOOOPDSAGnl9wsgnFbffrHI7dSqjjkWolY=; b=G+7t53CvJjHSRvT4FO+6aIhpql4RRbV/v6bIT9SX+zplkornjCgzFJtV7WUsM6mgCO eFBiRFxRJTEVdhYsSSCmlIlGfkNbvhmaEtTyvkKn0Wf4W60DIj8H0d/22wUtASqb/yGZ R0ivZ4ALpawLOdoiksLMys5MezYAOezTvBwyu865equMo3qvElNEvWjWRMfjR8BLop/M mV+AdB8fKPluEJNaHzUx0vwybdA84/5hGBVDP/3OdhGKHkO3/UPoif7Noc4seH5ZXxXb NOrsafJMT3r/lsxa4SXGqielH4jJuyLjsrpWqOJjOkfjPXD66/wYm6nUfF/CO3/TEBmF E8Jw== X-Gm-Message-State: ACgBeo0LpK7AQfsz1S7X+sM3z0AM3C4wJM0H/HQ2NS6RmKf+2MxvtiM4 jphSPzUDtwiAeTJD9NbMlzw= X-Google-Smtp-Source: AA6agR7wL5rhDlVtLq08yZz+TsI1lVH6ht08zy3xDh9nCoDuTAyH4NL9Rzm4RKXEFchVAbs+QhuXOg== X-Received: by 2002:a05:6402:1d54:b0:447:b1f7:9ecf with SMTP id dz20-20020a0564021d5400b00447b1f79ecfmr16664622edb.425.1661791105055; Mon, 29 Aug 2022 09:38:25 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id kw5-20020a170907770500b0073d645e6dd8sm4624448ejc.223.2022.08.29.09.38.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Aug 2022 09:38:24 -0700 (PDT) Message-ID: <6f1b7bc2361cd375ee54abbeb1e9c4091329283b.camel@gmail.com> From: Liliana Marie Prikler Date: Mon, 29 Aug 2022 18:38:22 +0200 In-Reply-To: <87mtbr13dd.fsf@trop.in> References: <87mtbr13dd.fsf@trop.in> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661791153; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=vAa8kyeAEyOOOPDSAGnl9wsgnFbffrHI7dSqjjkWolY=; b=QxXyR3In/UaHDLJvTPh1PJZWYAxxL++6X9w8eWMQiecIcIjMuOTt/Qc3qFCnYdIjkb1aBY N69YixpWyYOicKozrYa9570al9Xu4QIQ60vEZ/c3aSKH6y6OO7NpXCWx9zpUaBWOU3gXuD SH5y/MQjsz5F6RFuXY6ufrHOin2QZL5Vu0oiDfzump2Wg5xGHS1R9Lx/2ShQFVVrVn/FyO SuthzoB0LcF4IR5hyWvnJAs6Hc2/J/BbmQvbtDKoDayRVBC4JoUrosCrM18ikqOBZaQw4E 38/+dTWqs/dSyUPkLZkPduinApqDReccMRC01akVwQLmL6gvfYNgsfni8JZ5AQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661791153; a=rsa-sha256; cv=none; b=VnlWgrsTGztpa10dueUrIvKzoefz53wpSMz4xc4AIbKr6MSVdbLYA9Hw4PcFxy0NnkuB72 OsBWDqhVQGy0DvfHYDzgoKajEZ2WwLUmphlPitdKNk24ucXOFUOtPTUC+CpUtZxBKvZfXy bkt5+uyLfnHkbDc3Sz4msRdf64k1pVovM3rHdJB8lDYKRpooHculQeSn5ujtClniE08+JV 0Ds1wPYobNAOnomVtKkkzkPmec6YhppIL2ak7at+jr80a8lFXi2bPliv8WbWgy2etxSFsg r79oW48tKXVLjFeDjG6qzBpkVk/+YEb3WnEcyzN4P6pD2t8qsyjUhN9qZskhmw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=BgEsWovM; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 4.90 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=BgEsWovM; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 0FC2329240 X-Spam-Score: 4.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: n2Q/tzzwmCRl Am Freitag, dem 26.08.2022 um 17:33 +0300 schrieb Andrew Tropin: > > > > > > Cheers > > I went through a few popular packages and came up with conclusion > that it's hard to make good heuristic for automatical documentation > build: > > 1. I tried (find-files "." "\\.(texi|txi|texinfo)$") with consequent > for-each and it doesn't work in general case because it will build > files intended for inclusion, not standalone building. Fair enough, there's probably similar issues with org etc. That said, wouldn't the top-level info/org/whatever file share the package name? > 2. Adding automatic documentation build phase also means that almost > all emacs packages will be rebuild That's why I'm currently delaying native-comp until all other changes to emacs-build-system are done. > It seems that manual approach is more precise, less intrusive and > helps to get rid of many custom and non-uniform documentation build > phases. If you're going for a "manual" approach, I'd suggest instead making a curried ((build-documentation #:texinfo-files #:texinfo-regexp ...) #:outputs ...) so that the files can be written directly into the (add- after ...) syntax. Cheers