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
32 avahi-publish-service.1 \
33 avahi-publish-address.1 \
34 avahi-resolve-address.1 \
35 avahi-resolve-host-name.1 \
43 avahi-publish-service.1.xml \
44 avahi-publish-address.1.xml \
45 avahi-resolve-address.1.xml \
46 avahi-resolve-host-name.1.xml \
48 avahi-discover.1.xml \
49 avahi-bookmarks.1.xml \
50 avahi-dnsconfd.8.xml \
51 avahi-daemon.conf.5.xml
55 avahi-browse.1.xml.in \
56 avahi-publish-service.1.xml.in \
57 avahi-publish-address.1.xml.in \
58 avahi-resolve-address.1.xml.in \
59 avahi-resolve-host-name.1.xml.in \
60 avahi-daemon.8.xml.in \
61 avahi-discover.1.xml.in \
62 avahi-bookmarks.1.xml.in \
63 avahi-dnsconfd.8.xml.in \
64 avahi-daemon.5.conf.xml.in \
72 avahi-browse.1.xml: avahi-browse.1.xml.in Makefile
73 sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
74 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
76 avahi-publish-service.1.xml: avahi-publish-service.1.xml.in Makefile
77 sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
78 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
80 avahi-publish-address.1.xml: avahi-publish-address.1.xml.in Makefile
81 sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
82 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
84 avahi-resolve-address.1.xml: avahi-resolve-address.1.xml.in Makefile
85 sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
86 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
88 avahi-resolve-host-name.1.xml: avahi-resolve-host-name.1.xml.in Makefile
89 sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
90 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
92 avahi-daemon.8.xml: avahi-daemon.8.xml.in Makefile
93 sed -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
94 -e 's,@servicedir\@,$(servicedir),g' \
95 -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
96 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
98 avahi-discover.1.xml: avahi-discover.1.xml.in Makefile
99 sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
100 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
102 avahi-bookmarks.1.xml: avahi-bookmarks.1.xml.in Makefile
103 sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
104 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
106 avahi-dnsconfd.8.xml: avahi-dnsconfd.8.xml.in Makefile
107 sed -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
108 -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
109 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
111 avahi-daemon.conf.5.xml: avahi-daemon.conf.5.xml.in Makefile
112 sed -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
113 -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
114 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
119 CLEANFILES += $(man_MANS)
121 avahi-browse.1: avahi-browse.1.xml Makefile
124 avahi-publish-service.1: avahi-publish-service.1.xml Makefile
127 avahi-publish-address.1: avahi-publish-address.1.xml Makefile
130 avahi-resolve-address.1: avahi-resolve-address.1.xml Makefile
133 avahi-resolve-host-name.1: avahi-resolve-host-name.1.xml Makefile
136 avahi-daemon.8: avahi-daemon.8.xml Makefile
139 avahi-discover.1: avahi-discover.1.xml Makefile
142 avahi-bookmarks.1: avahi-bookmarks.1.xml Makefile
145 avahi-dnsconfd.8: avahi-dnsconfd.8.xml Makefile
148 avahi-daemon.conf.5: avahi-daemon.conf.5.xml Makefile