From: Jaroslav Kysela Date: Thu, 8 Jan 2026 13:49:58 +0000 (+0100) Subject: Makefile: remove dist-hook and remove tar option 'follow symlinks' X-Git-Tag: v1.2.15.2~1 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=b3bc2b4feee7a97db919b4c842b329f24563718c;p=alsa-lib.git 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 --- 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