From: Jaroslav Kysela Date: Wed, 23 Oct 2002 13:24:07 +0000 (+0000) Subject: Added check for AMTAR X-Git-Tag: v1.0.3~347 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=a435a3900e75f5c2ea6807a3bbe3fa569d0859e4;p=alsa-lib.git Added check for AMTAR --- diff --git a/Makefile.am b/Makefile.am index cf4bffbf..21b14cca 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,7 +8,11 @@ rpm: dist dist-hook: -chmod -R a+r $(distdir) - $(TAR) cvf $(distdir).tar.bz2 --bzip2 $(distdir) + @if ! test -z "$(AMTAR)"; then \ + $(AMTAR) cvf $(distdir).tar.bz2 --bzip2 $(distdir); \ + else \ + $(TAR) cvf $(distdir).tar.bz2 --bzip2 $(distdir); \ + fi doc-dummy: