From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-b.sr.ht (mail-b.sr.ht [173.195.146.151]) by sourceware.org (Postfix) with ESMTPS id 7F114385AE5D for ; Thu, 9 Jun 2022 05:50:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7F114385AE5D Received: from git.sr.ht (unknown [173.195.146.142]) by mail-b.sr.ht (Postfix) with ESMTPSA id 98B7A11EF5B; Thu, 9 Jun 2022 05:50:49 +0000 (UTC) From: ~eschwartz Date: Fri, 03 Jun 2022 00:48:15 -0400 Subject: [PATCH bzip2 4/6] make a couple program aliases symlinks instead of copies Message-ID: <165475384722.17277.18269615533597437835-3@git.sr.ht> X-Mailer: git.sr.ht Reply-to: ~eschwartz In-Reply-To: <165475384722.17277.18269615533597437835-0@git.sr.ht> To: bzip2-devel@sourceware.org Cc: eschwartz93@gmail.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Spam-Status: No, score=-10.8 required=5.0 tests=BAYES_00, DATE_IN_PAST_96_XX, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: bzip2-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bzip2-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jun 2022 05:50:53 -0000 From: Eli Schwartz Some programs are installed one way, some are installed the other way. Be consistent and always use symlinks. --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 6631733..76dfe9a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -82,8 +82,8 @@ install: bzip2 bzip2recover if ( test ! -d $(DESTDIR)$(mandir)/man1 ) ; then mkdir -p $(DESTDIR)$(mandi= r)/man1 ; fi if ( test ! -d $(DESTDIR)$(includedir) ) ; then mkdir -p $(DESTDIR)$(includ= edir) ; fi cp -f bzip2 $(DESTDIR)$(bindir)/bzip2 - cp -f bzip2 $(DESTDIR)$(bindir)/bunzip2 - cp -f bzip2 $(DESTDIR)$(bindir)/bzcat + ln -s -f bzip2 $(DESTDIR)$(bindir)/bunzip2 + ln -s -f bzip2 $(DESTDIR)$(bindir)/bzcat cp -f bzip2recover $(DESTDIR)$(bindir)/bzip2recover chmod a+x $(DESTDIR)$(bindir)/bzip2 chmod a+x $(DESTDIR)$(bindir)/bunzip2 --=20 2.34.2