From patchwork Thu Oct 31 10:57:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 178164 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp2652223ill; Thu, 31 Oct 2019 03:57:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqztPFI/ToeYxEvJq7zBHfZIzRPH35Ww5X6DMhagLXB1bnM4/uLaN4pCNfEWOdJFZdKYoB2t X-Received: by 2002:a63:734e:: with SMTP id d14mr5697371pgn.357.1572519473413; Thu, 31 Oct 2019 03:57:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572519473; cv=none; d=google.com; s=arc-20160816; b=enzWRvDG6Kb6UX5GGfMlXAqt86LrxIy2/xJMdOiDUBE2+Sj/y9DxoFk/lZ0Us6pQua PYRaE6pXqQ17P1sf/eG+sTUYYqK3BJZBzgFNv3mdFkqqWnM9n7p8oGdgd2bLglR8LAfR Oo1dxtcQ/K7QRzXSwGknP5NRDmo7Pljk0ELInDkfPsAV5qFMNHWBa7J7D+13DyY7RR58 W/xPtDpLQAUiXkGB2uIcIRR5ImI8sSHGqkZmdCbGE2mQ0Z90HVdpgEUfOqffe2OuWSJR mDvkNMJzCycOq1Q5yCyULBp/l8hpoK3DWSilrYkWPpimOlP8xKM39CJ9+4MFX9IkuZ8F obtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=iM/w1BTUzbccSqUyRMkHSwE8pw6bixO6zJijq446Zpg=; b=FJZrXqVO7NfZo55gIsSMdc2T+LViQjZpNBXN4BKhRANo/kllnvEzyU50YtxTSGHP/Z TGTJVDL+1LhjIxKb8OIIOnRqMKleKClWhVpyaE6xsCE7s3KlkFI5LQchg201oQhZ5dfM tneaMg5h4KFkqF4DBD5hJHP0vMn/qL7yIWzsGwXFUA90uxNm5EnJs3RuXjVlr2sm8qfA VP701p70smRZpQuC580FQzBntFOcBk70tHJPUeb7MIzegA9XJu1v3U4yv5/8rJTgxp2p 5VLpKuBqBFHqEMlEI4bk8fqh8hfFjcP140B+WrKgkdFUUf9nc4MM83x5YI6AS/kGBLwa s83g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=OZ5E0koT; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id j5si6895310pgs.262.2019.10.31.03.57.53; Thu, 31 Oct 2019 03:57:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=OZ5E0koT; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id EB3DA7F971; Thu, 31 Oct 2019 10:57:49 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by mail.openembedded.org (Postfix) with ESMTP id 3CAFA7F8CB for ; Thu, 31 Oct 2019 10:57:48 +0000 (UTC) Received: by mail-wm1-f68.google.com with SMTP id t26so1326694wmi.4 for ; Thu, 31 Oct 2019 03:57:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=bVpWeDgEkLa3/Us18HpSujFRq/0/5WjnMixUXEfCnjU=; b=OZ5E0koTcNiArMX3Ei8Qx4u5ae68KYwd+7gckh6YCPiWSwSwDv/x+RDjt/3sdHKDr7 cX5YA2uPBbHzsMOFuQYvIxk/VZMSmeSZ61mgFM+bZH7PThgESZPpq059wogQfLgpzlG1 2ETRk82B3jpcFKkj0jjLqfOC3C38KUNUL99nMSGDnoZEL+n8nLE56RE22hEYuvqYx4lI 27pILXzQS8xg8G8PoKHth+6snO8YyZTjxXgXS46V0Q3O9jDoLsEOYXI17QwmWYwY9gG/ PZwUpUuPWb8dN4meXOAsz0jKMFPcNuilR0MhDO5MtYNxN7K8IMU3C4gakq/EqsS090vP 0LvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bVpWeDgEkLa3/Us18HpSujFRq/0/5WjnMixUXEfCnjU=; b=YSae2kufnaOKaEMXgeRCOUzN7ksdc4NaCkiwylOzLxbbIPnR9VrARpX+dHWJKSh2F0 +/5fL0Axr5CTHdAkf2XGvRbioTaKLN+8jNTDLwUTQqv1Ff9DvmbDmgw93D0FHgr5+TZr QJbZpFsFak3Wt/HmzxPWxoj/J2l7guD58HfU/ZJ5aAbhRWTjNel9qyB0P43+4Zm5N9+e yb9497/uU5fPqIkDNTEe7BUBpkSUWv6K+e5vzJpqpdH5oZLEnETy6RyVGIhMM6s17ebL OELrFeQl/YzYU2MEDmTRROlN3oTq5ofXPEwmi3JAAA6oLm6KqWgMqlW1R6WOx6Sq0YkS CVEQ== X-Gm-Message-State: APjAAAX34+Hj0vc2oSycwiRDLWgGustBBjOfeRKWqkKXdV3HssIehnbn 9RlZDgAmDrKnekY/ivrOfkM9mviC5JY= X-Received: by 2002:a7b:cc01:: with SMTP id f1mr4800252wmh.113.1572519468823; Thu, 31 Oct 2019 03:57:48 -0700 (PDT) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id f13sm3192113wrq.96.2019.10.31.03.57.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Oct 2019 03:57:48 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Thu, 31 Oct 2019 10:57:35 +0000 Message-Id: <20191031105735.8141-2-ross.burton@intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191031105735.8141-1-ross.burton@intel.com> References: <20191031105735.8141-1-ross.burton@intel.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 2/2] git: cleanup man install X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Prettify by using shell loops. Signed-off-by: Ross Burton --- meta/recipes-devtools/git/git.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc index 67fc96b7aff..95ab397f6af 100644 --- a/meta/recipes-devtools/git/git.inc +++ b/meta/recipes-devtools/git/git.inc @@ -39,12 +39,12 @@ do_compile_prepend () { do_install () { oe_runmake install DESTDIR="${D}" bindir=${bindir} \ template_dir=${datadir}/git-core/templates - install -d ${D}/${mandir}/man1 - install -d ${D}/${mandir}/man5 - install -d ${D}/${mandir}/man7 - install -t ${D}/${mandir}/man1 ${WORKDIR}/man1/* - install -t ${D}/${mandir}/man5 ${WORKDIR}/man5/* - install -t ${D}/${mandir}/man7 ${WORKDIR}/man7/* + + for section in man1 man5 man7; do + install -d ${D}/${mandir}/$section + install -t ${D}/${mandir}/$section ${WORKDIR}/$section/* + done + install -d ${D}/${datadir}/bash-completion/completions/ install -m 644 ${S}/contrib/completion/git-completion.bash ${D}/${datadir}/bash-completion/completions/git }