Makefile: realpath ~ instead of realpath ~/.config/.. which may not exist
This commit is contained in:
@@ -48,7 +48,7 @@ define install_module_rule =
|
|||||||
install_$(module): ~/.config/rc/init.d/joeac.net ~/.config/rc/init.d/joeac.net.$(module) $(nginx_module_target)
|
install_$(module): ~/.config/rc/init.d/joeac.net ~/.config/rc/init.d/joeac.net.$(module) $(nginx_module_target)
|
||||||
|
|
||||||
~/.config/rc/init.d/joeac.net.$(module): ~/.config/rc/init.d/joeac.net ~/.config/rc/runlevels/default
|
~/.config/rc/init.d/joeac.net.$(module): ~/.config/rc/init.d/joeac.net ~/.config/rc/runlevels/default
|
||||||
ln -s $(shell realpath ~/.config/rc/init.d/joeac.net) ~/.config/rc/init.d/joeac.net.$(module)
|
ln -s $(shell realpath ~)/.config/rc/init.d/joeac.net) ~/.config/rc/init.d/joeac.net.$(module)
|
||||||
rc-update -U add joeac.net.$(module) default
|
rc-update -U add joeac.net.$(module) default
|
||||||
rc-service -U joeac.net.$(module) start
|
rc-service -U joeac.net.$(module) start
|
||||||
endef
|
endef
|
||||||
|
|||||||
Reference in New Issue
Block a user