> On 02/27/2017 11:49 AM, Martin Gansser wrote:
> 
> A set DESTDIR variable should be a good approximation to that.
> 
> Florian
You mean something like here: ?

https://github.com/libreswan/libreswan/blob/master/initsystems/systemd/Makefile

installsystemdservice:
        @mkdir -p $(SYSTEMDDIR)
        $(INSTALL) $(INSTCONFFLAGS) $(SYSTEMDFILE) $(SYSTEMDDIR)
        @if test $(SYSTEMDDIR) = ${UNITDIR} ; then \
                systemctl --system daemon-reload ; \
fi
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to