1 # This file is part of avahi.
3 # avahi is free software; you can redistribute it and/or modify it
4 # under the terms of the GNU Lesser General Public License as
5 # published by the Free Software Foundation; either version 2 of the
6 # License, or (at your option) any later version.
8 # avahi is distributed in the hope that it will be useful, but WITHOUT
9 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
10 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
11 # License for more details.
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with avahi; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
18 pkgsysconfdir=$(sysconfdir)/avahi
19 servicedir=$(pkgsysconfdir)/services
27 avahi-dnsconfd.action.8 \
35 avahi-set-host-name.1.xml \
37 avahi-discover.1.xml \
38 avahi-bookmarks.1.xml \
39 avahi-dnsconfd.8.xml \
40 avahi-daemon.conf.5.xml \
41 avahi-dnsconfd.action.8.xml \
45 avahi-autoipd.action.8.xml \
79 avahi-autoipd.action.8
84 %.xml: %.xml.in Makefile
85 $(AM_V_GEN) sed -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
86 -e 's,@servicedir\@,$(servicedir),g' \
87 -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
88 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
92 CLEANFILES += $(man_MANS)
95 $(AM_V_GEN)xmltoman $< > $@
98 $(AM_V_GEN)xmltoman $< > $@
100 %.8: %.8.xml Makefile
101 $(AM_V_GEN)xmltoman $< > $@
103 xmllint: $(noinst_DATA)
104 for f in $(noinst_DATA) ; do \
105 xmllint --noout --valid "$$f" || exit 1 ; \
114 avahi-browse.1.xml.in \
115 avahi-publish.1.xml.in \
116 avahi-resolve.1.xml.in \
117 avahi-set-host-name.1.xml.in \
118 avahi-daemon.8.xml.in \
119 avahi-discover.1.xml.in \
120 avahi-bookmarks.1.xml.in \
121 avahi-dnsconfd.8.xml.in \
122 avahi-daemon.conf.5.xml.in \
123 avahi-dnsconfd.action.8.xml.in \
124 avahi.service.5.xml.in \
125 avahi.hosts.5.xml.in \
126 avahi-autoipd.action.8.xml.in \
127 avahi-autoipd.8.xml.in \
139 BSSH_LN += $(LN_S) bssh.1 bvnc.1 &&
143 mkdir -p $(DESTDIR)/$(mandir)/man1 && \
144 cd $(DESTDIR)/$(mandir)/man1 && \
145 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 && \
147 $(LN_S) avahi-resolve.1 avahi-resolve-host-name.1 && \
148 $(LN_S) avahi-resolve.1 avahi-resolve-address.1 && \
149 $(LN_S) avahi-browse.1 avahi-browse-domains.1 && \
150 $(LN_S) avahi-publish.1 avahi-publish-address.1 && \
151 $(LN_S) avahi-publish.1 avahi-publish-service.1