summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile28
-rw-r--r--README2
2 files changed, 20 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 245101f..5c3a39b 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/README b/README
index 9a937b5..655dabf 100644
--- a/README
+++ b/README
@@ -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