We replace every hardcoded path with an autotools variable @sbindir@ that is replaced at build time by the correct installation path. This was tested on SLES and RHEL. Signed-off-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com> Signed-off-by: Brian King <Brian King brking@linux.vnet.ibm.com>
20 lines
602 B
Makefile
20 lines
602 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.
|
|
#
|
|
#
|
|
|
|
%.service: %.service.in
|
|
sed -e 's,[@]sbindir[@],$(sbindir),g' < $< > $@
|
|
|
|
nodist_pkgdata_DATA = iprdump.service \
|
|
iprinit.service iprupdate.service
|
|
dist_pkgdata_DATA = iprdump.service.in \
|
|
iprinit.service.in iprupdate.service.in
|
|
|
|
clean-local:
|
|
rm iprdump.service iprinit.service iprupdate.service
|