summaryrefslogtreecommitdiff
path: root/Makefile
blob: 02933306099aba7ce27ca6cdc29ac2f79049cbb2 (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
install:
cp -v git-prompt.sh  /etc/
[ -f /etc/git-prompt.conf ]  || cp -v git-prompt.conf /etc/
 
tgit:
xclip -i git-demo
echo "ready to paste ..."
 
WEB_DESTDIR ?= /tmp/localweb
ASCIIDOC ?= asciidoc --unsafe
 
 
show: localweb
firefox $(WEB_DESTDIR)/index.html
 
index.html: index.txt
$(ASCIIDOC)  -o $@  $<
 
localweb: index.html *.png git-prompt.sh
mkdir -p  $(WEB_DESTDIR)
cp -uv $^ $(WEB_DESTDIR)
 
clean:
rm -f *.html