]> git.meshlink.io Git - catta/blob - Makefile.am
rename libdbus-watch-glue to libdbus-common
[catta] / Makefile.am
1 # $Id$
2
3 # This file is part of avahi.
4 #
5 # avahi is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU Lesser General Public License as
7 # published by the Free Software Foundation; either version 2 of the
8 # License, or (at your option) any later version.
9 #
10 # avahi is distributed in the hope that it will be useful, but WITHOUT
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
13 # License for more details.
14 #
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with avahi; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
18 # USA.
19
20 ACLOCAL_AMFLAGS = -I common
21
22 include $(srcdir)/common/doxygen.mk
23
24 EXTRA_DIST = \
25         bootstrap.sh \
26         LICENSE \
27         $(DX_CONFIG) \
28         docs/INSTALL \
29         docs/TODO \
30         docs/README \
31         docs/DBUS-API \
32         docs/AUTHORS \
33         docs/HACKING \
34         docs/overview.dia \
35         avahi-core.pc.in \
36         avahi-client.pc.in \
37         avahi-glib.pc.in
38
39 SUBDIRS = \
40         common \
41         avahi-common \
42         avahi-glib \
43         avahi-core \
44         avahi-discover-standalone \
45         avahi-client \
46         avahi-daemon \
47         initscript \
48         avahi-dnsconfd \
49         avahi-utils \
50         examples \
51         man \
52         tests
53
54 pkgconfigdir = $(libdir)/pkgconfig
55 pkgconfig_DATA = avahi-core.pc
56
57 avahi-core.pc: avahi-core.pc.in
58         sed -e 's,@prefix\@,$(prefix),g' \
59             -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
60
61 CLEANFILES = avahi-core.pc
62
63 if HAVE_DBUS
64
65 pkgconfig_DATA += avahi-client.pc
66
67 avahi-client.pc: avahi-client.pc.in
68         sed -e 's,@prefix\@,$(prefix),g' \
69             -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
70
71 CLEANFILES += avahi-client.pc
72
73 endif
74
75 if HAVE_GLIB
76
77 pkgconfig_DATA += avahi-glib.pc
78
79 avahi-glib.pc: avahi-glib.pc.in
80         sed -e 's,@prefix\@,$(prefix),g' \
81             -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
82
83 CLEANFILES += avahi-glib.pc
84
85 endif
86
87 MOSTLYCLEANFILES = $(DX_CLEANFILES)
88
89 homepage:
90         scp avahi-daemon/*.introspect avahi-daemon/introspect.dtd avahi-daemon/introspect.xsl\
91             man/*.xml man/xmltoman.dtd man/xmltoman.xsl \
92             fdo:public_html/
93         rm -rf doxygen
94         $(MAKE) doxygen-run
95         ssh fdo rm -rf public_html/doxygen
96         scp -r doxygen/html fdo:public_html/doxygen