summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-06-20 20:05:18 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-06-20 20:05:18 +0000
commitfc64bd8d77ce25b9639754916762ac3d8eddc5c6 (patch)
tree9b99af21b7bc02279cff6de0543f3324a3644998 /config
parentdd64887a44e8f073b2a492a0c3e155a71502754a (diff)
repair syntax
Diffstat (limited to 'config')
-rw-r--r--config/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/Makefile b/config/Makefile
index 4a90c788..449de230 100644
--- a/config/Makefile
+++ b/config/Makefile
@@ -26,11 +26,11 @@ makemode := misc
# If override_conf is set to `t' then install even on top of existing
# files.
SYSCONFFILES = protocols services shells motd ttys
-installed_conf = $(addprefix $(sysconfdir)/$(SYSCONFFILES))
+installed_conf = $(addprefix $(sysconfdir)/,$(SYSCONFFILES))
# Mere symlinks are installed for these
LINKEDCONFFILES = rc
-installed_links = $(addprefix $(sysconfdir)/$(LINKEDCONFFILES))
+installed_links = $(addprefix $(sysconfdir)/,$(LINKEDCONFFILES))
ifeq ($(override_conf),t)
foo=$(shell touch /dev/null)
@@ -41,7 +41,7 @@ endif
install: $(installed_conf) $(installed_links)
$(installed_conf): $(sysconfdir)/%: %
- $(INSTALL_DATA) $< $@
+ $(INSTALL_DATA) $< $(sysconfdir)/$*
$(sysconfdir)/rc:
ln -s ../libexec/rc $(sysconfdir)/rc