3 # This file is part of avahi.
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.
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.
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
20 pkgsysconfdir=$(sysconfdir)/avahi
21 servicedir=$(pkgsysconfdir)/services
29 avahi-dnsconfd.action.8 \
37 avahi-set-host-name.1.xml \
39 avahi-discover.1.xml \
40 avahi-bookmarks.1.xml \
41 avahi-dnsconfd.8.xml \
42 avahi-daemon.conf.5.xml \
43 avahi-dnsconfd.action.8.xml \
47 avahi-autoipd.action.8.xml \
81 avahi-autoipd.action.8
86 %.xml: %.xml.in Makefile
87 sed -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
88 -e 's,@servicedir\@,$(servicedir),g' \
89 -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
90 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
94 CLEANFILES += $(man_MANS)
102 %.8: %.8.xml Makefile
105 xmllint: $(noinst_DATA)
106 for f in $(noinst_DATA) ; do \
107 xmllint --noout --valid "$$f" || exit 1 ; \
116 avahi-browse.1.xml.in \
117 avahi-publish.1.xml.in \
118 avahi-resolve.1.xml.in \
119 avahi-set-host-name.1.xml.in \
120 avahi-daemon.8.xml.in \
121 avahi-discover.1.xml.in \
122 avahi-bookmarks.1.xml.in \
123 avahi-dnsconfd.8.xml.in \
124 avahi-daemon.conf.5.xml.in \
125 avahi-dnsconfd.action.8.xml.in \
126 avahi.service.5.xml.in \
127 avahi.hosts.5.xml.in \
128 avahi-autoipd.action.8.xml.in \
129 avahi-autoipd.8.xml.in \
141 BSSH_LN += $(LN_S) bssh.1 bvnc.1 &&
145 mkdir -p $(DESTDIR)/$(mandir)/man1 && \
146 cd $(DESTDIR)/$(mandir)/man1 && \
147 rm -f avahi-resolve-host-name.1 avahi-resolve-address.1 avahi-browse-domains.1 avahi-publish-address.1 avahi-publish-service.1 bvnc.1 && \
149 $(LN_S) avahi-resolve.1 avahi-resolve-host-name.1 && \
150 $(LN_S) avahi-resolve.1 avahi-resolve-address.1 && \
151 $(LN_S) avahi-browse.1 avahi-browse-domains.1 && \
152 $(LN_S) avahi-publish.1 avahi-publish-address.1 && \
153 $(LN_S) avahi-publish.1 avahi-publish-service.1