Documentation fixes and a couple of other minor edits.
[xiph/unicode.git] / theora-old / Makefile.am
blob150210b1b273cbb7e5e1713b1143dc5c5ebbf624
1 ## Process this file with automake to produce Makefile.in
3 AUTOMAKE_OPTIONS = foreign 1.6 dist-zip dist-bzip2
5 SUBDIRS = lib include doc examples tests m4
7 # we include the whole debian/ dir in EXTRA_DIST because there's a problem
8 # with autotools and HFS+ MacOSX file systems that caused debian/Makefile.am
9 # to pick up on the lowercase changelog file and add ChangeLog to DIST_COMMON
10 # because of it, breaking make dist.  This works just as well.
11 EXTRA_DIST = \
12         README CHANGES COPYING LICENSE \
13         autogen.sh win32 symbian SConstruct \
14         libtheora.spec libtheora.spec.in \
15         theora-uninstalled.pc.in
17 pkgconfigdir = $(libdir)/pkgconfig
18 pkgconfig_DATA = theora.pc
20 dist-hook:
21         for item in $(EXTRA_DIST); do \
22           if test -d $$item; then \
23             echo -n "cleaning $$item dir for distribution..."; \
24             rm -rf `find $(distdir)/$$item -name .svn`; \
25             echo "OK"; \
26           fi; \
27         done
29 debug:
30         $(MAKE) all CFLAGS="@DEBUG@"
32 profile:
33         $(MAKE) all CFLAGS="@PROFILE@"