diff options
author | Leonid Volnitsky <Leonid@Volnitsky.com> | 2008-12-01 20:54:46 +0200 |
---|---|---|
committer | Leonid Volnitsky <Leonid@Volnitsky.com> | 2008-12-01 20:55:20 +0200 |
commit | f7103bc2a4c5845a3d66f2f590630cc50e3b4643 (patch) | |
tree | 0ebb7dae94d1bf4eccf00a44c55461f5362b19c7 | |
parent | -- (diff) | |
download | git-prompt-f7103bc2a4c5845a3d66f2f590630cc50e3b4643.tar.gz git-prompt-f7103bc2a4c5845a3d66f2f590630cc50e3b4643.tar.bz2 git-prompt-f7103bc2a4c5845a3d66f2f590630cc50e3b4643.zip |
--
-rw-r--r-- | Makefile | 28 | ||||
-rw-r--r-- | README | 2 |
2 files changed, 20 insertions, 10 deletions
@@ -1,14 +1,24 @@ -install: - cp git-prompt.sh /etc/ - [ -s /etc/prompt ] || ln -sf /etc/git-prompt.sh /etc/prompt - -clean: - git clean -df +#install: +# cp git-prompt.sh /etc/ +# [ -s /etc/prompt ] || ln -sf /etc/git-prompt.sh /etc/prompt tgit: xclip -i git-demo echo "ready to paste ..." -release: install - git tag $(shell git tag -l | awk -F. 'END{printf "%s.%s\n", $$1,$$2+1}') - git push +DESTDIR ?= /tmp/html-lopti +ASCIIDOC ?= asciidoc + + +show: install + firefox $(DESTDIR)/index.html + +index.html: index.txt + $(ASCIIDOC) -o $@ $< + +install: index.html *.png + mkdir -p $(DESTDIR) + cp -uv $^ $(DESTDIR) + +clean: + rm -f *.html @@ -12,7 +12,7 @@ INSTALL If there are no interactivity test in your profile, then above command should be: - [[ $- == *i* ]] && . /etc/git-prompt.sh + [[ $- == *i* ]] && . /path/to/git-prompt.sh DEPENDENCY |