]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Makefile: remove dist-hook and remove tar option 'follow symlinks'
authorJaroslav Kysela <perex@perex.cz>
Thu, 8 Jan 2026 13:49:58 +0000 (14:49 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 8 Jan 2026 13:51:15 +0000 (14:51 +0100)
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>
Makefile.am

index 5bcef9992e55c71aff4f70352a45080c77bba8ed..ded3afc76df3ff2891fa8190f7eff7108ab3c5b4 100644 (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