diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-07-16 15:12:05 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-07-16 15:12:05 +0000 |
commit | db433a27e7ef339cad26a1971b6de6f7c8e01fe8 (patch) | |
tree | 03f96aec86569f14a88a62e8c852392ef245bfbc /config | |
parent | c522903c6f025554eddb17a6ec06785a9f4a9548 (diff) |
Prettier installation of dotfiles for root and login.
Diffstat (limited to 'config')
-rw-r--r-- | config/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/config/Makefile b/config/Makefile index 67fb79a5..1a5c22dd 100644 --- a/config/Makefile +++ b/config/Makefile @@ -54,13 +54,17 @@ include ../Makeconf install: $(installed_conf) $(installed_links) $(installed_logins) \ $(installed_rootdots) +$(installed_rootdots): $(prefix)/root +$(installed_logins): $(sysconfdir)/login + +$(prefix)/root $(sysconfdir)/login: %: + mkdir -p $@ + $(installed_rootdots): $(prefix)/root/%: root-% - mkdir -p $(prefix)/root - $(INSTALL_DATA) $< $(prefix)/$* + $(INSTALL_DATA) $< $(prefix)/root/$* $(installed_logins): $(sysconfdir)/login/%: login-% - mkdir -p $(sysconfdir)/login - $(INSTALL_DATA) $< $(sysconfdir)/$* + $(INSTALL_DATA) $< $(sysconfdir)/login/$* $(installed_conf): $(sysconfdir)/%: % $(INSTALL_DATA) $< $(sysconfdir)/$* |