OSDN Git Service

Added dist-hook..
[android-x86/external-alsa-lib.git] / Makefile.am
1 SUBDIRS=doc include src test utils
2 EXTRA_DIST=ChangeLog INSTALL configure cvscompile libtool version
3
4 INCLUDES=-I$(top_srcdir)/include
5
6 rpm: dist
7         $(MAKE) -C utils rpm
8
9 dist-hook:
10         -chmod -R a+r $(distdir)
11         $(TAR) cvIf $(distdir).tar.bz2 $(distdir)
12
13 pack: clean-recursive
14         rm -f config.log config.cache config.status
15         rm -rf `find . -name ".deps"`
16         chown -R root.root ../alsa-lib
17         mv ../alsa-lib ../alsa-lib-$(SND_LIB_VERSION)
18         tar --exclude=CVS -cvI -C .. -f ../alsa-lib-$(SND_LIB_VERSION).tar.bz2 alsa-lib-$(SND_LIB_VERSION)
19         mv ../alsa-lib-$(SND_LIB_VERSION) ../alsa-lib