summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-06-20 18:50:35 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-06-20 18:50:35 +0000
commit59fdc455293bcc67ed668e5b524f726bbcf73e5c (patch)
tree23acd1e69663c978cf5b7f8a375fa41c55f91e44 /config
parent34327c52abce3986ee21b9d0e1816f6bd5324287 (diff)
(install): Install symlink for rc.
Diffstat (limited to 'config')
-rw-r--r--config/Makefile9
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