From b3bc2b4feee7a97db919b4c842b329f24563718c Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Thu, 8 Jan 2026 14:49:58 +0100 Subject: [PATCH] Makefile: remove dist-hook and remove tar option 'follow symlinks' The dist-hook is not required for latest automake. It was introduced in 2000, so the things were hopefully fixed now. Signed-off-by: Jaroslav Kysela --- Makefile.am | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Makefile.am b/Makefile.am index 5bcef999..ded3afc7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,6 @@ +# remove -h for tar (follow symlinks) to avoid endless include/alsa/alsa/... +am__tar = $${TAR-tar} cof - "$$tardir" + ACLOCAL_AMFLAGS = -I m4 SUBDIRS=doc include src @@ -20,14 +23,6 @@ AM_CPPFLAGS=-I$(top_srcdir)/include rpm: dist $(MAKE) -C utils rpm -dist-hook: - -chmod -R a+r $(distdir) - @if ! test -z "$(AMTAR)"; then \ - $(AMTAR) --create --verbose --file=- $(distdir) | bzip2 -c -9 > $(distdir).tar.bz2 ; \ - else \ - $(TAR) --create --verbose --file=- $(distdir) | bzip2 -c -9 > $(distdir).tar.bz2 ; \ - fi - doc-dummy: doc: doc-dummy -- 2.47.3