Project

General

Profile

Bug #2470 ยป fix_upstart_systemd_Makefile.patch

Delekhan, 02/20/2017 03:30 PM

View differences:

Makefile 2017-02-20 14:22:39.000000000 +0000
install-none:
install-upstart:
cat contrib/epgd.conf | sed s:"<BINDEST>":"$(BINDEST)":g | sed s:"<PLGDEST>":"$(PLGDEST)":g > /tmp/epgd.conf
install -C -D /tmp/epgd.conf $(UPSTARTDEST)/epgd.conf
cat contrib/epgd.conf | sed s:"<BINDEST>":"$(BINDEST)":g | sed s:"<PLGDEST>":"$(PLGDEST)":g | install -C -D /dev/stdin $(UPSTARTDEST)/epgd.conf
chmod a+r $(UPSTARTDEST)/epgd.conf
cat contrib/epghttpd.conf | sed s:"<BINDEST>":"$(BINDEST)":g > /tmp/epghttpd.conf
install -C -D /tmp/epghttpd.conf $(UPSTARTDEST)/epghttpd.conf
cat contrib/epghttpd.conf | sed s:"<BINDEST>":"$(BINDEST)":g | install -C -D /dev/stdin $(UPSTARTDEST)/epghttpd.conf
chmod a+r $(UPSTARTDEST)/epghttpd.conf
install-systemd:
cat contrib/epgd.service | sed s:"<BINDEST>":"$(BINDEST)":g | sed s:"<PLGDEST>":"$(PLGDEST)":g > $(SYSTEMDDEST)/epgd.service
cat contrib/epgd.service | sed s:"<BINDEST>":"$(BINDEST)":g | sed s:"<PLGDEST>":"$(PLGDEST)":g | install -C -D /dev/stdin $(SYSTEMDDEST)/epgd.service
chmod a+r $(SYSTEMDDEST)/epgd.service
cat contrib/epghttpd.service | sed s:"<BINDEST>":"$(BINDEST)":g > $(SYSTEMDDEST)/epghttpd.service
cat contrib/epghttpd.service | sed s:"<BINDEST>":"$(BINDEST)":g | install -C -D /dev/stdin $(SYSTEMDDEST)/epghttpd.service
chmod a+r $(SYSTEMDDEST)/epghttpd.service
cppchk:
    (1-1/1)