]> git.meshlink.io Git - catta/blob - Makefile.am
change location of docs
[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         autogen.sh \
26         bootstrap.sh \
27         LICENSE \
28         $(DX_CONFIG) \
29         docs/INSTALL \
30         docs/TODO \
31         docs/NEWS \
32         docs/README \
33         docs/DBUS-API \
34         docs/AUTHORS \
35         docs/HACKING \
36         docs/API-CHANGES-0.6 \
37         docs/COMPAT-LAYERS \
38         docs/MALLOC \
39         docs/overview.dia \
40         docs/server-states.dia \
41         docs/avahi-poll.dia \
42         avahi-core.pc.in \
43         avahi-client.pc.in \
44         avahi-glib.pc.in \
45         avahi-qt3.pc.in \
46         avahi-qt4.pc.in \
47         avahi-sharp.pc.in \
48         avahi-compat-libdns_sd.pc.in \
49         avahi-compat-howl.pc.in
50
51 SUBDIRS = \
52         common \
53         avahi-common \
54         avahi-glib \
55         avahi-core \
56         avahi-discover-standalone \
57         avahi-qt \
58         avahi-client \
59         avahi-daemon \
60         avahi-sharp \
61         initscript \
62         avahi-dnsconfd \
63         avahi-utils \
64         avahi-python \
65         examples \
66         man \
67         tests \
68         service-type-database \
69         avahi-compat-libdns_sd \
70         avahi-compat-howl 
71
72
73 DX_INPUT = \
74         $(srcdir)/avahi-core/core.h \
75         $(srcdir)/avahi-core/lookup.h \
76         $(srcdir)/avahi-core/publish.h \
77         $(srcdir)/avahi-common/address.h \
78         $(srcdir)/avahi-core/rr.h \
79         $(srcdir)/avahi-common/strlst.h \
80         $(srcdir)/avahi-common/alternative.h \
81         $(srcdir)/avahi-core/log.h \
82         $(srcdir)/avahi-common/defs.h \
83         $(srcdir)/avahi-client/client.h \
84         $(srcdir)/avahi-client/lookup.h \
85         $(srcdir)/avahi-client/publish.h \
86         $(srcdir)/avahi-common/error.h \
87         $(srcdir)/avahi-common/malloc.h \
88         $(srcdir)/avahi-common/domain.h \
89         $(srcdir)/avahi-common/watch.h \
90         $(srcdir)/avahi-common/simple-watch.h \
91         $(srcdir)/avahi-common/thread-watch.h \
92         $(srcdir)/avahi-glib/glib-watch.h \
93         $(srcdir)/avahi-glib/glib-malloc.h \
94         $(srcdir)/avahi-common/timeval.h \
95         $(srcdir)/avahi-qt/qt-watch.h
96
97 DX_EXAMPLE_PATH = $(srcdir)/examples
98
99 DX_EXAMPLE_PATTERNS = *.c
100
101 pkgconfigdir = $(libdir)/pkgconfig
102 pkgconfig_DATA = avahi-core.pc
103
104 avahi-core.pc: avahi-core.pc.in
105         sed -e 's,@prefix\@,$(prefix),g' \
106             -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
107
108 CLEANFILES = avahi-core.pc
109
110 if HAVE_DBUS
111
112 pkgconfig_DATA += avahi-client.pc
113
114 avahi-client.pc: avahi-client.pc.in
115         sed -e 's,@prefix\@,$(prefix),g' \
116             -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
117
118 CLEANFILES += avahi-client.pc
119
120 if ENABLE_COMPAT_HOWL
121
122 pkgconfig_DATA += avahi-compat-howl.pc
123
124 avahi-compat-howl.pc: avahi-compat-howl.pc.in
125         sed -e 's,@prefix\@,$(prefix),g' \
126             -e 's,@HOWL_COMPAT_VERSION\@,$(HOWL_COMPAT_VERSION),g' $< > $@
127
128 CLEANFILES += avahi-compat-howl.pc
129
130 endif
131
132 if ENABLE_COMPAT_LIBDNS_SD
133
134 pkgconfig_DATA += avahi-compat-libdns_sd.pc
135
136 avahi-compat-libdns_sd.pc: avahi-compat-libdns_sd.pc.in
137         sed -e 's,@prefix\@,$(prefix),g' \
138             -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
139
140 CLEANFILES += avahi-compat-libdns_sd.pc
141
142 endif
143
144 if HAVE_MONO
145
146 pkgconfig_DATA += avahi-sharp.pc
147
148 avahi-sharp.pc: avahi-sharp.pc.in
149         sed -e 's,@prefix\@,$(prefix),g' \
150             -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
151             -e 's,@libdir\@,$(libdir),g' $< > $@
152
153 CLEANFILES += avahi-sharp.pc
154
155 endif
156
157 endif
158
159 if HAVE_GLIB
160
161 pkgconfig_DATA += avahi-glib.pc
162
163 avahi-glib.pc: avahi-glib.pc.in
164         sed -e 's,@prefix\@,$(prefix),g' \
165             -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
166
167 CLEANFILES += avahi-glib.pc
168
169 endif
170
171 if HAVE_QT3
172
173 pkgconfig_DATA += avahi-qt3.pc
174
175 avahi-qt3.pc: avahi-qt3.pc.in
176         sed -e 's,@prefix\@,$(prefix),g' \
177             -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
178
179 CLEANFILES += avahi-qt3.pc
180
181 endif
182
183 if HAVE_QT4
184
185 pkgconfig_DATA += avahi-qt4.pc
186
187 avahi-qt4.pc: avahi-qt4.pc.in
188         sed -e 's,@prefix\@,$(prefix),g' \
189             -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
190
191 CLEANFILES += avahi-qt4.pc
192
193 endif
194
195 MOSTLYCLEANFILES = $(DX_CLEANFILES)
196
197 DISTCHECK_CONFIGURE_FLAGS = \
198         --disable-monodoc
199
200 homepage:
201         $(MAKE) -C man
202         scp avahi-daemon/*.introspect avahi-daemon/introspect.dtd avahi-daemon/introspect.xsl\
203             man/*.xml man/xmltoman.dtd man/xmltoman.xsl \
204             fdo:public_html/
205         rm -rf doxygen
206         $(MAKE) doxygen-run
207         ssh tango rm -rf www/avahi.org/tree/download/doxygen
208         scp -r doxygen/html tango:www/avahi.org/tree/download/doxygen