mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2025-11-05 01:12:42 +01:00
feat(make): add Makefile
This commit is contained in:
parent
dd5bd55bbb
commit
5566ad6e16
1 changed files with 10 additions and 0 deletions
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