X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=Makefile;h=b5643e27d965617413033b62b3ad2976432d0122;hb=c632ae1a73c9115923996887995aa7f025a19c6f;hp=0778297b23725ae0e21692d2eeeda2db1bdadfac;hpb=0f76f93bd286c46d281a574a6db67e038b6d42a7;p=config%2Fdotfiles.git diff --git a/Makefile b/Makefile index 0778297..b5643e2 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,25 @@ -# Makefile for shell configuration files. At the moment only used for running -# tests. +# Makefile for shell configuration files. +# Generate necessary files and create symbolic links in ~/. +LINK=../link.sh +.PHONY: setup +setup: + # Generate ~/.less with lesskey. + lesskey lesskey + # Link setup for shells. + $(LINK) shell ~/.shell + $(LINK) bash ~/.bash + $(LINK) bash/rc ~/.bashrc + $(LINK) bash/profile ~/.bash_profile + $(LINK) zsh ~/.zsh + $(LINK) zsh/env ~/.zshenv + $(LINK) zsh/rc ~/.zshrc + $(LINK) zsh/logout ~/.zlogout + # Link setup for additional files. + $(LINK) colordiffrc ~/.colordiffrc + $(LINK) inputrc ~/.inputrc + $(LINK) screenrc ~/.screenrc + test: cd tests; zsh run.zsh