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
30 avahi-publish-service.1 \
31 avahi-publish-address.1 \
32 avahi-resolve-address.1 \
33 avahi-resolve-host-name.1 \
41 avahi-publish-service.1.xml \
42 avahi-publish-address.1.xml \
43 avahi-resolve-address.1.xml \
44 avahi-resolve-host-name.1.xml \
46 avahi-discover.1.xml \
51 avahi-browse.1.xml.in \
52 avahi-publish-service.1.xml.in \
53 avahi-publish-address.1.xml.in \
54 avahi-resolve-address.1.xml.in \
55 avahi-resolve-host-name.1.xml.in \
56 avahi-daemon.8.xml.in \
57 avahi-discover.1.xml.in \
58 avahi-bookmarks.1.xml.in \
66 avahi-browse.1.xml: avahi-browse.1.xml.in Makefile
67 sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
68 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
70 avahi-publish-service.1.xml: avahi-publish-service.1.xml.in Makefile
71 sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
72 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
74 avahi-publish-address.1.xml: avahi-publish-address.1.xml.in Makefile
75 sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
76 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
78 avahi-resolve-address.1.xml: avahi-resolve-address.1.xml.in Makefile
79 sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
80 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
82 avahi-resolve-host-name.1.xml: avahi-resolve-host-name.1.xml.in Makefile
83 sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
84 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
86 avahi-daemon.8.xml: avahi-daemon.8.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' $< > $@
92 avahi-discover.1.xml: avahi-discover.1.xml.in Makefile
93 sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
94 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
96 avahi-bookmarks.1.xml: avahi-bookmarks.1.xml.in Makefile
97 sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
98 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
102 CLEANFILES += $(man_MANS)
104 avahi-browse.1: avahi-browse.1.xml Makefile
107 avahi-publish-service.1: avahi-publish-service.1.xml Makefile
110 avahi-publish-address.1: avahi-publish-address.1.xml Makefile
113 avahi-resolve-address.1: avahi-resolve-address.1.xml Makefile
116 avahi-resolve-host-name.1: avahi-resolve-host-name.1.xml Makefile
119 avahi-daemon.8: avahi-daemon.8.xml Makefile
122 avahi-discover.1: avahi-discover.1.xml Makefile
125 avahi-bookmarks.1: avahi-bookmarks.1.xml Makefile