Harmonize the spec and stand-alone versions of the comment header docs.
[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 win32 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 # we include the whole debian/ dir in EXTRA_DIST because there's a problem
14 # with autotools and HFS+ MacOSX file systems that caused debian/Makefile.am
15 # to pick up on the lowercase changelog file and add ChangeLog to DIST_COMMON
16 # because of it, breaking make dist.  This works just as well.
17 EXTRA_DIST = \
18         todo.txt macos macosx autogen.sh \
19         libvorbis.spec libvorbis.spec.in \
20         vorbis.m4 \
21         vorbis.pc.in vorbisenc.pc.in vorbisfile.pc.in \
22         vorbis-uninstalled.pc.in \
23         vorbisenc-uninstalled.pc.in \
24         vorbisfile-uninstalled.pc.in \
25         debian
26
27 DISTCHECK_CONFIGURE_FLAGS = --enable-docs
28
29 dist-hook:
30         rm -rf `find $(distdir)/debian -name .svn`
31         rm -rf `find $(distdir)/debian -name "Makefile*"`
32         rm -rf `find $(distdir)/macos -name .svn`
33         rm -rf `find $(distdir)/macosx -name .svn`
34
35 debug:
36         $(MAKE) all CFLAGS="@DEBUG@"
37
38 profile:
39         $(MAKE) all CFLAGS="@PROFILE@"