kpatch/contrib/Makefile
Seth Jennings 743f70f002 use PREFIX for absolute path in service unit
Signed-off-by: Seth Jennings <sjenning@redhat.com>
2015-06-03 08:47:14 -05:00

14 lines
229 B
Makefile

include ../Makefile.inc
all:
install: all
$(INSTALL) -d $(SYSTEMDDIR)
$(INSTALL) kpatch.service $(SYSTEMDDIR)
sed -i 's~PREFIX~$(PREFIX)~' $(SYSTEMDDIR)/kpatch.service
uninstall:
$(RM) $(SYSTEMDDIR)/kpatch.service
clean: