X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=Makefile.am;h=3feaf728a1329b03d36361f3c390a0be8d3711c7;hb=89f651faa20731cd5315e41e8920a32ebf8b87ff;hp=ea9c2356b39e6fe7933ca62158b83d91fff47566;hpb=d2a015f858a7c199d8411f2f83dd071f10c308ae;p=platform%2Fupstream%2Flibvorbis.git diff --git a/Makefile.am b/Makefile.am index ea9c235..3feaf72 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,14 +1,44 @@ ## Process this file with automake to produce Makefile.in -AUTOMAKE_OPTIONS = foreign dist-zip +AUTOMAKE_OPTIONS = foreign 1.11 dist-zip dist-xz -SUBDIRS = lib include doc examples win32 debian vq +ACLOCAL_AMFLAGS = -I m4 + +SUBDIRS = m4 include vq lib test doc + +if BUILD_EXAMPLES +SUBDIRS += examples +endif m4datadir = $(datadir)/aclocal m4data_DATA = vorbis.m4 -EXTRA_DIST = README AUTHORS COPYING libvorbis.spec vorbis.m4 acinclude.m4\ - todo.txt +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = vorbis.pc vorbisenc.pc vorbisfile.pc + +EXTRA_DIST = \ + CHANGES COPYING \ + autogen.sh \ + libvorbis.spec libvorbis.spec.in \ + vorbis.m4 \ + vorbis.pc.in vorbisenc.pc.in vorbisfile.pc.in \ + vorbis-uninstalled.pc.in \ + vorbisenc-uninstalled.pc.in \ + vorbisfile-uninstalled.pc.in \ + symbian \ + macosx win32 CMakeLists.txt + + +DISTCHECK_CONFIGURE_FLAGS = --enable-docs + +dist-hook: + for item in $(EXTRA_DIST); do \ + if test -d $$item; then \ + echo -n "cleaning $$item dir for distribution..."; \ + rm -rf `find $(distdir)/$$item -name .svn`; \ + echo "OK"; \ + fi; \ + done debug: $(MAKE) all CFLAGS="@DEBUG@"