feat(make): add Makefile (#38)

Reviewed-on: https://codeberg.org/vlw/dotfiles/pulls/38
This commit is contained in:
Victor Westerlund 2025-09-14 11:48:17 +02:00
parent fb45cc5279
commit 69bd6e9a5c
2 changed files with 11 additions and 0 deletions

1
.gitignore vendored
View file

@ -5,6 +5,7 @@
# Include configs
!.nanorc
!Makefile
!.tmux.conf
!.gitconfig
!.ssh/config

10
Makefile Normal file
View file

@ -0,0 +1,10 @@
install: dotfiles
# Install dotfiles in users home directory
dotfiles:
@if [ -d dotfiles ]; then \
cp -r ./dotfiles/. $HOME \
rm -rf dotfiles \
else \
echo "Dotfiles already installed or folder is missing"; \
fi