diff options
Diffstat (limited to '')
-rw-r--r-- | Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0eb9bc8 --- /dev/null +++ b/Makefile @@ -0,0 +1,37 @@ +dst_readme := tangle.sh merge.sh pull.sh link.sh dots.sh + +.PHONY: update merge dev install link tangle fetch pull clean + +update: pull merge dev + git rebase dev+ work+ + +merge: tangle/merge.sh + tangle/merge.sh + +dev: + git fetch + git rebase origin/dev+ dev+ + git rebase master dev+ + git push --force origin dev+ + +install: tangle link + +tangle: tangle/tangle.sh + tangle/tangle.sh + +clean: + rm hash/* + +link: tangle/link.sh + tangle/link.sh + +fetch: + git fetch + +pull: tangle/pull.sh + tangle/pull.sh + +.SILENT: $(addprefix tangle/,$(dst_readme)) +$(addprefix tangle/,$(dst_readme)) &: README.org + mkdir -p tangle + emacs --batch --eval "(and (require 'org) (org-babel-tangle-file \"README.org\"))" &> /dev/null |