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
27 avahi-dnsconfd.action.8
33 avahi-publish-service.1 \
34 avahi-publish-address.1 \
35 avahi-resolve-address.1 \
36 avahi-resolve-host-name.1 \
44 avahi-publish-service.1.xml \
45 avahi-publish-address.1.xml \
46 avahi-resolve-address.1.xml \
47 avahi-resolve-host-name.1.xml \
49 avahi-discover.1.xml \
50 avahi-bookmarks.1.xml \
51 avahi-dnsconfd.8.xml \
52 avahi-daemon.conf.5.xml \
53 avahi-dnsconfd.action.8.xml
57 avahi-browse.1.xml.in \
58 avahi-publish-service.1.xml.in \
59 avahi-publish-address.1.xml.in \
60 avahi-resolve-address.1.xml.in \
61 avahi-resolve-host-name.1.xml.in \
62 avahi-daemon.8.xml.in \
63 avahi-discover.1.xml.in \
64 avahi-bookmarks.1.xml.in \
65 avahi-dnsconfd.8.xml.in \
66 avahi-daemon.conf.5.xml.in \
67 avahi-dnsconfd.action.8.xml.in \
75 avahi-browse.1.xml: avahi-browse.1.xml.in Makefile
76 sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
77 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
79 avahi-publish-service.1.xml: avahi-publish-service.1.xml.in Makefile
80 sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
81 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
83 avahi-publish-address.1.xml: avahi-publish-address.1.xml.in Makefile
84 sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
85 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
87 avahi-resolve-address.1.xml: avahi-resolve-address.1.xml.in Makefile
88 sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
89 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
91 avahi-resolve-host-name.1.xml: avahi-resolve-host-name.1.xml.in Makefile
92 sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
93 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
95 avahi-daemon.8.xml: avahi-daemon.8.xml.in Makefile
96 sed -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
97 -e 's,@servicedir\@,$(servicedir),g' \
98 -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
99 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
101 avahi-discover.1.xml: avahi-discover.1.xml.in Makefile
102 sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
103 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
105 avahi-bookmarks.1.xml: avahi-bookmarks.1.xml.in Makefile
106 sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
107 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
109 avahi-dnsconfd.8.xml: avahi-dnsconfd.8.xml.in Makefile
110 sed -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
111 -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
112 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
114 avahi-daemon.conf.5.xml: avahi-daemon.conf.5.xml.in Makefile
115 sed -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
116 -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
117 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
119 avahi-dnsconfd.action.8.xml: avahi-dnsconfd.action.8.xml.in Makefile
120 sed -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
121 -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
122 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
127 CLEANFILES += $(man_MANS)
129 avahi-browse.1: avahi-browse.1.xml Makefile
132 avahi-publish-service.1: avahi-publish-service.1.xml Makefile
135 avahi-publish-address.1: avahi-publish-address.1.xml Makefile
138 avahi-resolve-address.1: avahi-resolve-address.1.xml Makefile
141 avahi-resolve-host-name.1: avahi-resolve-host-name.1.xml Makefile
144 avahi-daemon.8: avahi-daemon.8.xml Makefile
147 avahi-discover.1: avahi-discover.1.xml Makefile
150 avahi-bookmarks.1: avahi-bookmarks.1.xml Makefile
153 avahi-dnsconfd.8: avahi-dnsconfd.8.xml Makefile
156 avahi-daemon.conf.5: avahi-daemon.conf.5.xml Makefile
159 avahi-dnsconfd.action.8: avahi-dnsconfd.action.8.xml Makefile
162 xmllint: $(noinst_DATA)
163 for f in $(noinst_DATA) ; do \
164 xmllint --noout --valid "$$f" || exit 1 ; \