source: trunk/third/ifplugd/conf/Makefile.am @ 20388

Revision 20388, 1.5 KB checked in by amb, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r20387, which included commits to RCS files with non-trunk default branches.
Line 
1# $Id: Makefile.am,v 1.1.1.1 2004-04-09 20:08:58 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
19sysinitdir = @SYSINITDIR@
20
21noinst_DATA = ifplugd.init ifplugd.action ifplugd.conf
22
23EXTRA_DIST = ifplugd.init.in ifplugd.action ifplugd.conf
24
25CLEANFILES = ifplugd.init
26
27ifplugd.init: ifplugd.init.in Makefile
28        sed -e 's,@sysconfdir\@,$(sysconfdir),g' -e 's,@sbindir\@,$(sbindir),g' $< > $@
29        chmod 755 $@
30
31install-data-local: ifplugd.init
32        $(INSTALL) -b -D -m755 ifplugd.init ${DESTDIR}${sysinitdir}/ifplugd
33        $(INSTALL) -b -D -m755 $(srcdir)/ifplugd.action ${DESTDIR}${sysconfdir}/ifplugd/ifplugd.action
34        $(INSTALL) -b -D -m644 $(srcdir)/ifplugd.conf ${DESTDIR}${sysconfdir}/ifplugd/ifplugd.conf
35
36uninstall-local:
37        rm -f ${DESTDIR}${sysconfdir}/ifplugd/ifplugd.action ${DESTDIR}${sysconfdir}/ifplugd/ifplugd.conf ${DESTDIR}${sysinitdir}/ifplugd
Note: See TracBrowser for help on using the repository browser.