mirror of
https://github.com/Ascyii/dotfiles.git
synced 2026-01-01 06:54:24 -05:00
23 lines
527 B
Makefile
23 lines
527 B
Makefile
# Makefile to adptop all dotfiles in this repo
|
|
|
|
# Source - https://stackoverflow.com
|
|
# Posted by Konstantin Smolyanin, modified by community. See post 'Timeline' for change history
|
|
# Retrieved 2025-12-30, License - CC BY-SA 4.0
|
|
|
|
define sto
|
|
stow --adopt -v --dotfiles $(1)
|
|
endef
|
|
|
|
all:
|
|
# Target to stow everything in this repo
|
|
git add .
|
|
-git commit -a -m "AutoSave - For reset"
|
|
|
|
# Possibly with adoptation
|
|
$(call sto,cli)
|
|
$(call sto,gui)
|
|
$(call sto,home)
|
|
|
|
# Reset to the last autosave (optional)
|
|
#git reset --hard HEAD
|