From 1a8b0c51c8036a4de2f7809e55375523ec2318a9 Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Tue, 28 Jun 2022 19:56:05 +0200 Subject: Move tarball creation inside ansible playbook [2] --- Makefile | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 Makefile diff --git a/Makefile b/Makefile deleted file mode 100644 index 37bae6d..0000000 --- a/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -VERSION = 3.82 - -all: complete - -# checkenv is redundant here but prevents execution of anything before failing -complete: checkenv tempdirs tarball removedirs distrib removetar - -tarball: - rsync -avu bin .bash .bash_profile .bashrc .flake8 .gitconfig .gnupg .perlcriticrc .profile .pylintrc .tmux.conf .tmux.conf.local tmux-gpakosz tmux-yank .vimrc --exclude=.git --exclude=.gitattributes --exclude=.github --exclude=.gitignore --exclude='LICENSE*' --exclude='README*' --exclude='*.local' distribute/tar/ - tar -C distribute/tar -cvJf dotfiles.tar.xz . - rm -rf distribute/tar - -tempdirs: - @mkdir -pv distribute/tar - -removedirs: - rm -rf distribute/tar - -distrib: checkenv - ansible-playbook distrib.yml - -checkenv: - @if [ -z "$$DFDISTRIB" ];then printf "DFDISTRIB not set, cannot determine target.\\n" >&2;exit 101;fi - -removetar: - @rm -vf dotfiles.tar.xz -- cgit v1.2.3