mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2025-11-05 01:12:42 +01:00
feat(make): add Makefile (#38)
Reviewed-on: https://codeberg.org/vlw/dotfiles/pulls/38
This commit is contained in:
parent
fb45cc5279
commit
69bd6e9a5c
2 changed files with 11 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
# Include configs
|
# Include configs
|
||||||
!.nanorc
|
!.nanorc
|
||||||
|
!Makefile
|
||||||
!.tmux.conf
|
!.tmux.conf
|
||||||
!.gitconfig
|
!.gitconfig
|
||||||
!.ssh/config
|
!.ssh/config
|
||||||
|
|
|
||||||
10
Makefile
Normal file
10
Makefile
Normal 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
|
||||||
Loading…
Add table
Reference in a new issue