-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (22 loc) · 737 Bytes
/
Makefile
File metadata and controls
30 lines (22 loc) · 737 Bytes
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
27
28
29
30
F=$(shell find . -name '*.md')
typo: ready
@- git status
@- git commit -am "saving"
@- git push origin master
commit: ready
@- git status
@- git commit -a
@- git push origin master
update:; @- git pull origin master
status:; @- git status
ready: gitting prep
gitting:
@git config --global credential.helper cache
@git config credential.helper 'cache --timeout=3600'
@git config --global user.email tim.menzies@gmail.com
timm:
@git config --global user.name "Tim Menzies"
prep:
@$(foreach f,$F, if [ "etc/header" -nt "$f" ]; then echo "# updating $f ... "; gawk -f etc/headers.awk $f > .tmp; mv .tmp $f; fi; )
prepping:
@$(foreach f,$F, echo "# updating $f ... "; gawk -f etc/headers.awk $f > .tmp; mv .tmp $f; )