1
0
mirror of https://github.com/pgrondek/config.git synced 2024-11-22 03:53:43 +00:00
config/ssh/Makefile
2019-07-12 00:19:09 +02:00

17 lines
313 B
Makefile

AUTHORIZED_KEYS=authorized_keys
SSH_FOLDER=$(HOME)/.ssh
SSH_FOLDER_MOD=0700
.PHONY: clean_install
clean_install: clean install
$(SSH_FOLDER):
mkdir -p $(SSH_FOLDER)
chown $(SSH_FOLDER_MOD) $(SSH_FOLDER)
install: $(SSH_FOLDER)
cp $(AUTHORIZED_KEYS) $(SSH_FOLDER)
clean:
rm $(SSH_FOLDER)/$(AUTHORIZED_KEYS)