1 # This file is part of PulseAudio.
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.
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.
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
18 ACLOCAL_AMFLAGS = -I m4
28 doxygen/doxygen.conf.in \
34 vala/libpulse-mainloop-glib.deps \
35 vala/libpulse-mainloop-glib.vapi \
42 src/daemon/.gitignore \
45 SUBDIRS = src doxygen man po
47 MAINTAINERCLEANFILES =
50 vapidir = $(datadir)/vala/vapi
52 vala/libpulse.deps vala/libpulse.vapi \
53 vala/libpulse-mainloop-glib.deps vala/libpulse-mainloop-glib.vapi
55 pkgconfigdir = $(libdir)/pkgconfig
56 pkgconfig_DATA = libpulse.pc libpulse-simple.pc
60 libpulse-mainloop-glib.pc
63 cmakedir = $(libdir)/cmake/PulseAudio
64 cmake_DATA = PulseAudioConfig.cmake PulseAudioConfigVersion.cmake
66 homepage: all dist doxygen
67 test -d $$HOME/homepage/private
68 mkdir -p $$HOME/homepage/private/projects/pulseaudio $$HOME/homepage/private/projects/pulseaudio/doxygen
69 cp pulseaudio-@PACKAGE_VERSION@.tar.gz $$HOME/homepage/private/projects/pulseaudio
70 cp pulseaudio-@PACKAGE_VERSION@.tar.gz $$HOME/git.fedora/pulseaudio
71 cp -a doxygen/html/* $$HOME/homepage/private/projects/pulseaudio/doxygen
74 $(MAKE) -C doxygen doxygen
77 find \( -name '*.c' -o -name '*.h' -o -name 'Makefile.am' \) -exec perl -i -pe 's/\s+\n$$/\1\n/;' \{\} \;
80 find \( -name '*.c' -o -name '*.h' \) -exec perl -i -pe 's/\t/ /g;' \{\} \;
83 cp $(distdir).tar.gz $$HOME/git.fedora/pulseaudio/$(distdir).tar.gz
86 if test -d .git ; then \
87 test -z $$USE_GIT || git pull ; \
88 test -f ${distdir}/ChangeLog && chmod u+w ${distdir}/ChangeLog ; \
89 ( git-changelog.perl || echo "git-changelog.perl failed." ) > ${distdir}/ChangeLog 2>&1 ; \
91 echo $(VERSION) > $(distdir)/.tarball-version
92 echo $(VERSION) > $(distdir)/.version
94 .PHONY: homepage distcleancheck doxygen
97 BUILT_SOURCES = $(top_srcdir)/.version
98 $(top_srcdir)/.version:
99 echo $(VERSION) > $@-t && mv $@-t $@
102 po/.intltool-merge-cache
104 DISTCHECK_CONFIGURE_FLAGS = --with-udev-rules-dir="$$dc_install_base/lib/udev/rules.d"