Allow users to enable initd scripts support in iprutils for distros that
support it. One can run ../configure --with-initscripts to building the
init files.
This modifies the default behavior to not generate initd scripts by
default. From now on, to generate them user must use --with-initscripts.
The default for --with-initscripts is to install scripts to
%{prefix}/etc/init.d. That can be overriden using
--with-initscripts=<path>.
Signed-off-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
23 lines
601 B
Makefile
23 lines
601 B
Makefile
# IBM IPR adapter configuration utility
|
|
#
|
|
# (C) Copyright 2015
|
|
# International Business Machines Corporation and others.
|
|
# All Rights Reserved. This program and the accompanying
|
|
# materials are made available under the terms of the
|
|
# Common Public License v1.0 which accompanies this distribution.
|
|
#
|
|
|
|
%: %.in
|
|
sed -e 's,[@]sbindir[@],$(sbindir),g' < $< > $@
|
|
|
|
if INITD
|
|
nodist_initd_SCRIPTS = iprdump iprinit iprupdate
|
|
endif
|
|
|
|
clean-local:
|
|
-rm iprdump iprinit iprupdate iprha
|
|
|
|
sysconfdir=@sysconfdir@/ha.d/resource.d
|
|
nodist_sysconf_DATA = iprha
|
|
|
|
EXTRA_DIST = iprdump.in iprinit.in iprupdate.in iprha.in
|