X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=Makefile.am;h=359a70199c127e16aad608d3517ae006e855186e;hb=be4c6130022e014277864b93725557d79f37af73;hp=500a70892434d7d9b8fab281bcddac2e89b9a211;hpb=7622248b6ade27a80f1b8769d38a1c5f3199d7a0;p=platform%2Fupstream%2Flibvorbis.git diff --git a/Makefile.am b/Makefile.am index 500a708..359a701 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,17 +1,43 @@ ## 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 = HACKING todo.txt mac \ - autogen.sh libvorbis.spec vorbis.m4 +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 cmake/FindOgg.cmake cmake/VorbisConfig.cmake.in + +DISTCHECK_CONFIGURE_FLAGS = --enable-docs dist-hook: - rm -rf `find $(distdir)/mac -name CVS` + 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@"