Makefile: make rcpostplug.d links to postplug.d plugins relative

This commit is contained in:
Silvan Calarco 2012-03-02 19:38:30 +01:00
parent 8ea30d4cc1
commit f10bc890e2

View File

@ -87,7 +87,7 @@ install-plugins: $(pck_plugins)
for plugin in $(notdir $^); do\
$(INSTALL_SCRIPT) postplug.d/$$plugin \
$(DESTDIR)$(postplugdir)/$${plugin##[0-9][0-9]};\
ln -sf $(postplugdir)/$${plugin##[0-9][0-9]}\
ln -sf ../postplug.d/$${plugin##[0-9][0-9]}\
$(DESTDIR)$(postplugrcdir)/$$plugin;\
done