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
39 avahi-publish-service.1.xml \
40 avahi-publish-address.1.xml \
41 avahi-resolve-address.1.xml \
42 avahi-resolve-host-name.1.xml \
47 avahi-browse.1.xml.in \
48 avahi-publish-service.1.xml.in \
49 avahi-publish-address.1.xml.in \
50 avahi-resolve-address.1.xml.in \
51 avahi-resolve-host-name.1.xml.in \
52 avahi-daemon.8.xml.in \
60 avahi-browse.1.xml: avahi-browse.1.xml.in Makefile
61 sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
62 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
64 avahi-publish-service.1.xml: avahi-publish-service.1.xml.in Makefile
65 sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
66 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
68 avahi-publish-address.1.xml: avahi-publish-address.1.xml.in Makefile
69 sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
70 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
72 avahi-resolve-address.1.xml: avahi-resolve-address.1.xml.in Makefile
73 sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
74 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
76 avahi-resolve-host-name.1.xml: avahi-resolve-host-name.1.xml.in Makefile
77 sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
78 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
80 avahi-daemon.8.xml: avahi-daemon.8.xml.in Makefile
81 sed -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
82 -e 's,@servicedir\@,$(servicedir),g' \
83 -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
84 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
88 CLEANFILES += $(man_MANS)
90 avahi-browse.1: avahi-browse.1.xml Makefile
93 avahi-publish-service.1: avahi-publish-service.1.xml Makefile
96 avahi-publish-address.1: avahi-publish-address.1.xml Makefile
99 avahi-resolve-address.1: avahi-resolve-address.1.xml Makefile
102 avahi-resolve-host-name.1: avahi-resolve-host-name.1.xml Makefile
105 avahi-daemon.8: avahi-daemon.8.xml Makefile