DFLAGS = -g -DDEBUG -Werror
PROGS = tig
DOCS = tig.1.html tig.1 tigrc.5.html tigrc.5 \
- manual.toc manual.html manual.html-chunked README.html \
+ manual.toc manual.html manual.html-chunked manual.pdf \
+ README.html
ifneq (,$(wildcard .git))
VERSION = $(shell git-describe)
clean:
rm -rf manual.html-chunked
- rm -f $(PROGS) $(DOCS) core
+ rm -f $(PROGS) $(DOCS) core *.xml
spell-check:
aspell --lang=en --check tig.1.txt tigrc.5.txt manual.txt
README.html: README
asciidoc -b xhtml11 -d article -a readme $<
+%.pdf : %.xml
+ docbook2pdf $<
+
%.1.html : %.1.txt
asciidoc -b xhtml11 -d manpage $<
%.html-chunked : %.xml
xmlto html -o $@ $<
+
+# Maintainer stuff
+sync-docs:
+ cg switch release
+ -cg merge -n master
+ cg commit -m "Merge with master"
+ make doc
+ cg commit -m "Sync docs"
+ cg switch master
- Homepage: http://jonas.nitro.dk/tig[]
+ - Manual: http://jonas.nitro.dk/tig/manual.html[]
- Releases: http://jonas.nitro.dk/tig/releases[]
- Git URL: http://jonas.nitro.dk/tig/tig.git[]
- Gitweb: http://pasky.or.cz/gitweb.cgi?p=tig.git;a=summary[]
-----------------------------------------------------------------------------
j Move cursor one line up.
k Move cursor one line down.
-PgUp b \
-a Move cursor one page up.
+PgUp,\
+-,a Move cursor one page up.
PgDown Space Move cursor one page down.
Home Jump to first line.
End Jump to last line.
SEE ALSO
--------
-- gitlink:tigrc[5]
-- link:http://jonas.nitro.dk/tig/manual.html[The tig manual],
-- link:http://www.kernel.org/pub/software/scm/git/docs/[git(7)],
-- link:http://www.kernel.org/pub/software/scm/cogito/docs/[cogito(7)]
+gitlink:tigrc[5], git(7), cogito(7), as well as other git repository browsers:
+gitk(1), qgit(1), gitview(1).
-Other git repository browsers:
-
-- gitk(1)
-- qgit(1)
-- gitview(1)
-
-Sites:
+Online resources:
include::SITES[]
SEE ALSO
--------
-gitlink:tig[1] and the http://jonas.nitro.dk/tig/tig.html[tig manual].
+gitlink:tig[1] and the http://jonas.nitro.dk/tig/manual.html[tig manual].