git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 37bae6da8438de7e3e1bf53eae808b40133959d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
it pull [push] default = simple [pretty] ln-long = format:%C(auto)%H %gD %d %nAuthor: %aN <%aE>%n%C(auto)GPG signature: %G? %GF (%GT)%nGPG Primary Key: %GP%nDate: %ad %nSubject: %s %+b %+N %+(trailers) [core] editor = vim fileMode = true [merge] tool = vimdiff [mergetool] keepBackup = false [gui] fontui = -family Hack -size 11 -weight normal -slant roman -underline 0 -overstrike 0 fontdiff = -family Hack -size 11 -weight normal -slant roman -underline 0 -overstrike 0 [commit] gpgSign = true #[gpg] # program = /usr/bin/gpg2 [http] #proxy = http://10.0.0.1:3128/ [pull] rebase = false