diff options
-rw-r--r-- | config/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/config/Makefile b/config/Makefile index 294ef296..4a90c788 100644 --- a/config/Makefile +++ b/config/Makefile @@ -28,6 +28,10 @@ makemode := misc SYSCONFFILES = protocols services shells motd ttys installed_conf = $(addprefix $(sysconfdir)/$(SYSCONFFILES)) +# Mere symlinks are installed for these +LINKEDCONFFILES = rc +installed_links = $(addprefix $(sysconfdir)/$(LINKEDCONFFILES)) + ifeq ($(override_conf),t) foo=$(shell touch /dev/null) override_spec = /dev/null @@ -35,9 +39,12 @@ else override_spec = endif -install: $(installed_conf) +install: $(installed_conf) $(installed_links) $(installed_conf): $(sysconfdir)/%: % $(INSTALL_DATA) $< $@ +$(sysconfdir)/rc: + ln -s ../libexec/rc $(sysconfdir)/rc + include ../Makeconf |