]> git.meshlink.io Git - catta/blob - Makefile.am
ship avahi-poll.dia
[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         docs/server-states.dia \
36         docs/avahi-poll.dia \
37         avahi-core.pc.in \
38         avahi-client.pc.in \
39         avahi-glib.pc.in
40
41 SUBDIRS = \
42         common \
43         avahi-common \
44         avahi-glib \
45         avahi-core \
46         avahi-discover-standalone \
47         avahi-client \
48         avahi-daemon \
49         initscript \
50         avahi-dnsconfd \
51         avahi-utils \
52         examples \
53         man \
54         tests
55
56 pkgconfigdir = $(libdir)/pkgconfig
57 pkgconfig_DATA = avahi-core.pc
58
59 avahi-core.pc: avahi-core.pc.in
60         sed -e 's,@prefix\@,$(prefix),g' \
61             -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
62
63 CLEANFILES = avahi-core.pc
64
65 if HAVE_DBUS
66
67 pkgconfig_DATA += avahi-client.pc
68
69 avahi-client.pc: avahi-client.pc.in
70         sed -e 's,@prefix\@,$(prefix),g' \
71             -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
72
73 CLEANFILES += avahi-client.pc
74
75 endif
76
77 if HAVE_GLIB
78
79 pkgconfig_DATA += avahi-glib.pc
80
81 avahi-glib.pc: avahi-glib.pc.in
82         sed -e 's,@prefix\@,$(prefix),g' \
83             -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
84
85 CLEANFILES += avahi-glib.pc
86
87 endif
88
89 MOSTLYCLEANFILES = $(DX_CLEANFILES)
90
91 homepage:
92         scp avahi-daemon/*.introspect avahi-daemon/introspect.dtd avahi-daemon/introspect.xsl\
93             man/*.xml man/xmltoman.dtd man/xmltoman.xsl \
94             fdo:public_html/
95         rm -rf doxygen
96         $(MAKE) doxygen-run
97         ssh fdo rm -rf public_html/doxygen
98         scp -r doxygen/html fdo:public_html/doxygen