]> code.delx.au - pulseaudio/blob - Makefile.am
Merge dead branch 'lockfree'
[pulseaudio] / Makefile.am
1 # This file is part of PulseAudio.
2 #
3 # PulseAudio is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU Lesser General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.
7 #
8 # PulseAudio is distributed in the hope that it will be useful, but
9 # WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # General Public License for more details.
12 #
13 # You should have received a copy of the GNU Lesser General Public License
14 # along with PulseAudio; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
16 # USA.
17
18 EXTRA_DIST = bootstrap.sh LICENSE GPL LGPL doxygen/Makefile.am doxygen/Makefile.in doxygen/doxygen.conf.in README todo
19 SUBDIRS=src doxygen man
20
21 MAINTAINERCLEANFILES =
22 noinst_DATA =
23
24 pkgconfigdir = $(libdir)/pkgconfig
25 pkgconfig_DATA = libpulse.pc libpulse-simple.pc
26
27 if HAVE_AVAHI
28 pkgconfig_DATA += \
29 libpulse-browse.pc
30 endif
31
32 if HAVE_GLIB20
33 pkgconfig_DATA += \
34 libpulse-mainloop-glib.pc
35 endif
36
37 homepage: all dist doxygen
38 test -d $$HOME/homepage/private
39 mkdir -p $$HOME/homepage/private/projects/pulseaudio $$HOME/homepage/private/projects/pulseaudio/doxygen
40 cp pulseaudio-@PACKAGE_VERSION@.tar.gz $$HOME/homepage/private/projects/pulseaudio
41 cp -a doxygen/html/* $$HOME/homepage/private/projects/pulseaudio/doxygen
42
43 doxygen:
44 $(MAKE) -C doxygen doxygen
45
46 eolspace:
47 find \( -name '*.c' -o -name '*.h' -o -name 'Makefile.am' \) -exec perl -i -pe 's/\s+\n$$/\1\n/;' \{\} \;
48
49 untabify:
50 find \( -name '*.c' -o -name '*.h' \) -exec perl -i -pe 's/\t/ /g;' \{\} \;
51
52 fedora-snapshot: dist
53 cp $(distdir).tar.gz $$HOME/cvs.fedora/pulseaudio/devel/$(distdir).svn`date +%Y%m%d`.tar.gz
54
55 dist-hook:
56 if test -d .svn ; then \
57 svn update ; \
58 chmod u+w ${distdir}/ChangeLog || true ; \
59 svn2cl -o ${distdir}/ChangeLog ; \
60 fi
61
62 .PHONY: homepage distcleancheck doxygen