summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2005-03-24 10:47:29 +0000
committerJaroslav Kysela <perex@perex.cz>2005-03-24 10:47:29 +0000
commitb1ae46aa0c6aa0cf9c4056cc3de3b5797c2434c3 (patch)
treecc66f18ca1d3ab787557428d76de3476089820c9 /Makefile.am
parent88bd4f68b834dd343192ba7ec3d21124c49a406f (diff)
packaging related changes
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 8430c35..09dae4e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,2 +1,10 @@
SUBDIRS = pcm
AUTOMAKE_OPTIONS = foreign
+
+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