Makefile: remove dist-hook and remove tar option 'follow symlinks'
Some checks are pending
Build alsa-lib / fedora_latest_build (push) Waiting to run
Build alsa-lib / ubuntu_last_build (push) Waiting to run

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 <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2026-01-08 14:49:58 +01:00
parent 50b532de79
commit b3bc2b4fee

View file

@ -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