>From 7bb5cd4f528b67b6e35e14ed537ae39b53531b63 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Wed, 17 May 2023 17:47:20 +0200 Subject: [PATCH] rmt/paxlib: fix the build with the latest autotools The "make dist" command fails for GNU cpio on Fedora 38: make[4]: Entering directory '/home/praiskup/rh/projects/cpio/rmt' make[4]: *** No rule to make target 'DISTFILES', needed by 'distdir-am'. Stop. Autotools installed: automake-1.16.5-11.fc38.noarch autoconf-2.71-5.fc38.noarch * paxlib/Makefile.am: Drop EXTRA_DIST spec. * rmt/Makefile.am: Drop the EXTRA_DIST spec. --- paxlib/Makefile.am | 2 -- rmt/Makefile.am | 2 -- 2 files changed, 4 deletions(-) diff --git a/paxlib/Makefile.am b/paxlib/Makefile.am index 2561271..0dedb89 100644 --- a/paxlib/Makefile.am +++ b/paxlib/Makefile.am @@ -34,8 +34,6 @@ libpax_a_SOURCES = \ tarbuf.c\ rtape.c -EXTRA_DIST = DISTFILES - BUILT_SOURCES=localedir.h localedir = $(datadir)/locale diff --git a/rmt/Makefile.am b/rmt/Makefile.am index 643bda0..968121b 100644 --- a/rmt/Makefile.am +++ b/rmt/Makefile.am @@ -23,8 +23,6 @@ EXTRA_PROGRAMS = rmt rmt_SOURCES = rmt.c -EXTRA_DIST = DISTFILES - AM_CPPFLAGS = -I$(top_srcdir)/gnu -I../ -I../gnu -I$(top_srcdir)/lib \ -I$(top_srcdir)/paxlib -- 2.40.1