git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 15 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index f61918c..0a35cc0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,20 @@
VERSION = 3.82
-all: tarball
+all: tempdirs tarball removedirs distrib removetar
tarball:
+ rsync -avu bin .bash .bash_profile .bashrc .flake8 .gitconfig .perlcriticrc .profile .pylintrc .tmux.conf .tmux.conf.local tmux-gpakosz tmux-yank --exclude=.git --exclude=.gitattributes --exclude=.github --exclude=.gitignore --exclude='LICENSE*' --exclude='README*' distribute/tar/
+ tar -C distribute/tar -cvJf dotfiles.tar.xz .
+ rm -vrf distribute/tar
+
+tempdirs:
@mkdir -pv distribute/tar
- @rsync -avu bin .bash .bash_profile .bashrc .flake8 .gitconfig .perlcriticrc .profile .pylintrc .tmux.conf .tmux.conf.local tmux-gpakosz tmux-yank --exclude=.git --exclude=.gitattributes --exclude=.github --exclude=.gitignore --exclude='LICENSE*' --exclude='README*' distribute/tar/
- @tar -C distribute/tar -cvJf distrib.tar.xz .
- @rm -vrf distribute/tar
+
+removedirs:
+ rm -rf distribute/tar
+
+distrib:
+ ansible-playbook distrib.yml
+
+removetar:
+ @rm -vf dotfiles.tar.xz