44 lines
1011 B
Makefile
44 lines
1011 B
Makefile
ipxlibexecdir = $(libexecdir)/ipx
|
|
confd_dir = $(sysconfdir)/conf.d
|
|
|
|
edit = sed \
|
|
-e 's|@sbindir[@]|$(sbindir)|g' \
|
|
-e 's|@sysconfdir[@]|$(sysconfdir)|g' \
|
|
-e 's|@libexecdir[@]|$(libexecdir)|g' \
|
|
-e 's|@ipxlibexecdir[@]|$(ipxlibexecdir)|g' \
|
|
-e 's|@systemdsystemunitdir[@]|$(systemdsystemunitdir)|g'
|
|
|
|
ipxlibexec_SCRIPTS = \
|
|
network-start.sh \
|
|
network-stop.sh
|
|
|
|
confd__DATA = ipx
|
|
|
|
if ENABLE_SYSTEMD
|
|
systemdsystemunit_DATA = ipx.service
|
|
endif
|
|
|
|
network-start.sh: network-start.sh.in Makefile
|
|
$(AM_V_GEN)$(edit) $(srcdir)/network-start.sh.in > $@ && chmod +x $@
|
|
|
|
network-stop.sh: network-stop.sh.in Makefile
|
|
$(AM_V_GEN)$(edit) $(srcdir)/network-stop.sh.in > $@ && chmod +x $@
|
|
|
|
ipx.service: ipx.service.in Makefile
|
|
$(AM_V_GEN)$(edit) $(srcdir)/ipx.service.in > $@
|
|
|
|
ipx: ipx.confd.in Makefile
|
|
$(AM_V_GEN)$(edit) $(srcdir)/ipx.confd.in > $@
|
|
|
|
EXTRA_DIST = \
|
|
network-start.sh.in \
|
|
network-stop.sh.in \
|
|
ipx.service.in \
|
|
ipx.confd.in
|
|
|
|
CLEANFILES = \
|
|
network-start.sh \
|
|
network-stop.sh \
|
|
ipx.service \
|
|
ipx
|