From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iNMJDs+vXWBBhwAAgWs5BA (envelope-from ) for ; Fri, 26 Mar 2021 10:56:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +EsJCM+vXWDsRwAAB5/wlQ (envelope-from ) for ; Fri, 26 Mar 2021 09:56:31 +0000 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 78C76235DA for ; Fri, 26 Mar 2021 10:56:30 +0100 (CET) Received: from localhost ([::1]:50114 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPjCf-0001Ql-Fi for larch@yhetil.org; Fri, 26 Mar 2021 05:56:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52464) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPjCA-0001QT-Ul for help-guix@gnu.org; Fri, 26 Mar 2021 05:55:58 -0400 Received: from out1.migadu.com ([2001:41d0:2:863f::]:45757) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPjC8-0002bJ-8n for help-guix@gnu.org; Fri, 26 Mar 2021 05:55:58 -0400 To: Pierre Neidhardt , help-guix@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1616752552; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7gOZwLswhVte3rJjpTqthmRADq5fWQML8+zoQ/lfVD8=; b=B3qbTkVWrzDw59UtuyuTBwKnbtU/zJXVOtH1yO4OMj1toddtzdpt7Oqm2YZ1Ll8PQWVmDG sTqsiDiPHT6dyUDzHrhmtU1nTGMeQL/7kjga1xzYIgJr7CBkd8BXpS98+zCaqzOk9hZZkJ ngn/oxZU786JU59S/2drmvwdzBB6kVt4LeRPAGAC4vv7cNz1e+0JhfowspvoIBh7aKwaUq KPxdcSnTDcXpzARN90p+kNa+bkqXr4YNMEXXPJDLnI3fijg4uqKztTTYQrzaPjruDBAUPb wI+JwVkCEmcnNr8TSeYpy4gB4RDDcLrco17JbnPdYfo4b52DVCAEjnU2dcXmiw== References: <63c41e90-0fbb-08fa-b22a-9d5046b04aa9@raghavgururajan.name> <87sg4imfuh.fsf@ambrevar.xyz> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Raghav Gururajan Subject: Re: Help with copy-build-system Message-ID: <13001cfd-29bd-2496-f7f7-b47c3cbaf360@raghavgururajan.name> Date: Fri, 26 Mar 2021 05:55:49 -0400 MIME-Version: 1.0 In-Reply-To: <87sg4imfuh.fsf@ambrevar.xyz> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Fj2KQ5bBdP2C6cBkzu4pzclBDc4rOE6mu" X-Migadu-Auth-User: rg@raghavgururajan.name Received-SPF: pass client-ip=2001:41d0:2:863f::; envelope-from=rg@raghavgururajan.name; helo=out1.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616752590; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=7gOZwLswhVte3rJjpTqthmRADq5fWQML8+zoQ/lfVD8=; b=nKwhdse0LGnqOTMkNLnJzWSWjHE64d8TWZzZKzgJeFZrNpt71DfzdjBHxAQG5cpWmae0q+ w0Qyi1zd/woPLNHfOgcUvzOK9rincMJMZlaCvLUQkbNZOjhs6FnAdNOcO3x7L7GHe+FudL qOQ3+0FbBcoXA6V2UhVeS1Khn2irvA/g2hjtRyCWCtkBIUmwpxyW291VOxY/snrTqnS0rd aCUqmKvjqYIRLCAeA3tske4CSqWzimE7l4Npvy7bsMVVcl4wUnDWYhD2x5H40gcdAjx3ra xGp5I0rgLFazvXTVFtE9KdM8G4D4sWZsErCOAD53BqXmhkBE4nJQEnRZsF3PJg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616752590; a=rsa-sha256; cv=none; b=Hjehxs0cjCleZbmtkBwnodM6ggvmGVKhVO5Hsw9Loh2VqodDKt+bLwRTlDnuKuXKroblOc OYvKB8FWgDanLjsDzYMIAAcXun4/fOkbC6SvO818zMbLn/t8pvZZS3yj8Yfey8nZRMQ8OZ 7xiTOFQNosPaT0nh56XvsTF1pfukUK2KSiKHZbVMDWm206pC+tN7khUYvZ5G4SdUTcY/yP d6U2r0BSqxB+KAZnJMyDxS2cLImR7OMDBxhC4ErJqsFaPu8UKVMxyIj6Xh72y+k4ua30Id 4rFtlRu314ZBUdjXEKSayOfcmQQVBqfQvRg1kd+KrRMdblHswp7n0KPuRZQIyQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=raghavgururajan.name header.s=key1 header.b=B3qbTkVW; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -5.22 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=raghavgururajan.name header.s=key1 header.b=B3qbTkVW; dmarc=pass (policy=quarantine) header.from=raghavgururajan.name; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 78C76235DA X-Spam-Score: -5.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: RkI07GVaejG9 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Fj2KQ5bBdP2C6cBkzu4pzclBDc4rOE6mu Content-Type: multipart/mixed; boundary="Lv7ga5OxDyANdKCKuP6v9SslJCGdChJ1y"; protected-headers="v1" From: Raghav Gururajan To: Pierre Neidhardt , help-guix@gnu.org Message-ID: <13001cfd-29bd-2496-f7f7-b47c3cbaf360@raghavgururajan.name> Subject: Re: Help with copy-build-system References: <63c41e90-0fbb-08fa-b22a-9d5046b04aa9@raghavgururajan.name> <87sg4imfuh.fsf@ambrevar.xyz> In-Reply-To: <87sg4imfuh.fsf@ambrevar.xyz> --Lv7ga5OxDyANdKCKuP6v9SslJCGdChJ1y Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hi Pierre! > I haven't looked closely at your patch, but here is the rule for > copy-build-system if I'm not mistaken: the files matching #:include > preserve the path relative to the first argument. >=20 > For instance with this rule >=20 > ("/source/aaa/" "/target/bbb/" #:include ("foo")) >=20 > the file >=20 > /source/aaa/parent/foo >=20 > is copied to >=20 > /target/bbb/parent/foo >=20 > (I haven't tested.) >=20 > Does that help? With the same example, I was looking for a way where foo gets copied to=20 as /target/bbb/foo. Regards, RG. --Lv7ga5OxDyANdKCKuP6v9SslJCGdChJ1y-- --Fj2KQ5bBdP2C6cBkzu4pzclBDc4rOE6mu Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQTNLV6qqYzLN9qR1rBfWBZkf4vlUQUCYF2vpQUDAAAAAAAKCRBfWBZkf4vlUYoA AP0aRlFEdMXhz8onRchFPD1DEkU7jjeTjoB7XcMc/rID+wEArnXxxw4324dd9VqBDV+LgF1NoSCa L8juwoK0tLk6Lgg= =IWG+ -----END PGP SIGNATURE----- --Fj2KQ5bBdP2C6cBkzu4pzclBDc4rOE6mu--