From patchwork Wed Apr 3 19:11:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janneke Nieuwenhuizen X-Patchwork-Id: 62675 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9DA5B27BBE9; Wed, 3 Apr 2024 20:12:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 67F5E27BBE2 for ; Wed, 3 Apr 2024 20:12:16 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rs61k-0007er-DO; Wed, 03 Apr 2024 15:12:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rs61g-0007dK-15 for guix-patches@gnu.org; Wed, 03 Apr 2024 15:12:00 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rs61f-0001ax-Hj for guix-patches@gnu.org; Wed, 03 Apr 2024 15:11:59 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rs61j-0001u9-Ug for guix-patches@gnu.org; Wed, 03 Apr 2024 15:12:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70169] [PATCH 1/7] maint: Cater for running `make dist' from a worktree. Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 03 Apr 2024 19:12:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70169 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70169@debbugs.gnu.org Received: via spool by 70169-submit@debbugs.gnu.org id=B70169.17121715087160 (code B ref 70169); Wed, 03 Apr 2024 19:12:03 +0000 Received: (at 70169) by debbugs.gnu.org; 3 Apr 2024 19:11:48 +0000 Received: from localhost ([127.0.0.1]:59655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rs61T-0001rE-Hk for submit@debbugs.gnu.org; Wed, 03 Apr 2024 15:11:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rs61S-0001qI-7G for 70169@debbugs.gnu.org; Wed, 03 Apr 2024 15:11:46 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rs61G-0000qR-GC; Wed, 03 Apr 2024 15:11:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=q+rZKnDHKGZdZJcJPA/zMKlTSK8VKTBca9VS8g34lA8=; b=g95b/+Aj28BuZ6j4wyUQ 1CLY4ZAKUnZWwRzNUcLj2tpgvXgrY+XiT1JLMib+YAWz8kXKHzSECnepFXU5cnhhcHtx3Iee5JHQY 7odGz/mf8AaR6f2aUVuT9rdY4ZRfG3vcM0lMOy+nr0BQgc1nhMwtSCaUUaJTJS7fzgGCxII0v2YN0 +54lxek5E02wtRwK4f01F1Nl6y1q0Qh2zeb3g1ySq6GzLvaxpmhNF8QgwejmSYo3N7XcZY8o9VbVO 0PIdbRXN5kur5qIIQQ+jTKAqz/y86Oa70J93xnk4jjK+/TYFJvNL//ws2qT/qy6dsez6B8xROuICK 13BHd1ESE2VoFQ==; From: Janneke Nieuwenhuizen Date: Wed, 3 Apr 2024 21:11:03 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * Makefile.am (gen-ChangeLog): Check for existance of `.git', rather than it being a directory. (gen-AUTHORS): Likewise. Change-Id: I1b7f8cc147084c1804deb7be9d36e5eeda2599cb --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 1c5688ac13..2b5e145095 100644 --- a/Makefile.am +++ b/Makefile.am @@ -972,7 +972,7 @@ gen-tarball-version: echo $(VERSION) > "$(distdir)/.tarball-version" gen-ChangeLog: - $(AM_V_GEN)if test -d .git; then \ + $(AM_V_GEN)if test -e .git; then \ $(top_srcdir)/build-aux/gitlog-to-changelog \ > $(distdir)/ChangeLog.tmp; \ rm -f $(distdir)/ChangeLog; \ @@ -980,7 +980,7 @@ gen-ChangeLog: fi gen-AUTHORS: - $(AM_V_GEN)if test -d .git; then \ + $(AM_V_GEN)if test -e .git; then \ rm -f "$(distdir)/AUTHORS"; \ $(top_builddir)/pre-inst-env "$(GUILE)" \ "$(top_srcdir)/build-aux/generate-authors.scm" \