1 | # $Id: Makefile.am,v 1.1.1.1 2004-04-09 20:09:08 amb Exp $ |
---|
2 | |
---|
3 | # This file is part of ifplugd. |
---|
4 | # |
---|
5 | # ifplugd is free software; you can redistribute it and/or modify it |
---|
6 | # under the terms of the GNU General Public License as published by |
---|
7 | # the Free Software Foundation; either version 2 of the License, or |
---|
8 | # (at your option) any later version. |
---|
9 | # |
---|
10 | # ifplugd is distributed in the hope that it will be useful, but |
---|
11 | # WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
13 | # General Public License for more details. |
---|
14 | # |
---|
15 | # You should have received a copy of the GNU General Public License |
---|
16 | # along with ifplugd; if not, write to the Free Software Foundation, |
---|
17 | # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. |
---|
18 | |
---|
19 | man_MANS = ifplugd.8 ifplugd.conf.5 ifplugstatus.8 |
---|
20 | |
---|
21 | noinst_DATA = ifplugd.8.xml ifplugd.conf.5.xml ifplugstatus.8.xml |
---|
22 | |
---|
23 | EXTRA_DIST = $(man_MANS) ifplugd.8.xml.in ifplugd.conf.5.xml.in ifplugstatus.8.xml.in xmltoman.css xmltoman.xsl xmltoman.dtd |
---|
24 | |
---|
25 | CLEANFILES = ifplugd.8.xml ifplugd.conf.5.xml ifplugstatus.8.xml |
---|
26 | |
---|
27 | ifplugd.8.xml: ifplugd.8.xml.in Makefile |
---|
28 | sed -e 's,@sysconfdir\@,$(sysconfdir),g' -e 's,@sbindir\@,$(sbindir),g' -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ |
---|
29 | |
---|
30 | ifplugd.conf.5.xml: ifplugd.conf.5.xml.in Makefile |
---|
31 | sed -e 's,@sysconfdir\@,$(sysconfdir),g' -e 's,@sbindir\@,$(sbindir),g' -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ |
---|
32 | |
---|
33 | ifplugstatus.8.xml: ifplugstatus.8.xml.in Makefile |
---|
34 | sed -e 's,@sysconfdir\@,$(sysconfdir),g' -e 's,@sbindir\@,$(sbindir),g' -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ |
---|
35 | |
---|
36 | if USE_XMLTOMAN |
---|
37 | |
---|
38 | CLEANFILES += $(man_MANS) |
---|
39 | |
---|
40 | ifplugd.8: ifplugd.8.xml Makefile |
---|
41 | xmltoman $< > $@ |
---|
42 | |
---|
43 | ifplugd.conf.5: ifplugd.conf.5.xml Makefile |
---|
44 | xmltoman $< > $@ |
---|
45 | |
---|
46 | ifplugstatus.8: ifplugstatus.8.xml Makefile |
---|
47 | xmltoman $< > $@ |
---|
48 | |
---|
49 | endif |
---|