Remove the debian subdirectory from the distribution target at the
[platform/upstream/libvorbis.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 AUTOMAKE_OPTIONS = foreign dist-zip
4
5 SUBDIRS = lib include doc examples vq
6
7 m4datadir = $(datadir)/aclocal
8 m4data_DATA = vorbis.m4
9
10 pkgconfigdir = $(libdir)/pkgconfig
11 pkgconfig_DATA = vorbis.pc vorbisenc.pc vorbisfile.pc
12
13 EXTRA_DIST = \
14         todo.txt autogen.sh \
15         libvorbis.spec libvorbis.spec.in \
16         vorbis.m4 \
17         vorbis.pc.in vorbisenc.pc.in vorbisfile.pc.in \
18         vorbis-uninstalled.pc.in \
19         vorbisenc-uninstalled.pc.in \
20         vorbisfile-uninstalled.pc.in \
21         macos macosx win32
22
23
24 DISTCHECK_CONFIGURE_FLAGS = --enable-docs
25
26 dist-hook:
27         for item in $(EXTRA_DIST); do \
28           if test -d $$item; then \
29             echo -n "cleaning $$item dir for distribution..."; \
30             rm -rf `find $(distdir)/$$item -name .svn`; \
31             echo "OK"; \
32           fi; \
33         done
34
35 debug:
36         $(MAKE) all CFLAGS="@DEBUG@"
37
38 profile:
39         $(MAKE) all CFLAGS="@PROFILE@"