Release new version 0.19.7
[grml-etc-core.git] / doc / Makefile
1 MANPAGES = grmlzshrc.5
2 HTMLPAGES = grmlzshrc.html
3
4 all: $(MANPAGES) $(HTMLPAGES)
5
6 .SUFFIXES:
7 .SUFFIXES: .t2t .5 .html
8
9 .t2t.5:
10         @printf 'TXT2TAGS %s > %s\n' "$<" "$@"
11         @txt2tags --target man -o- $< | sed -e '/^$$/d' -e 's/^\\e$$//' > $@
12
13 .t2t.html:
14         @printf 'TXT2TAGS %s > %s\n' "$<" "$@"
15         @txt2tags --target xhtml --css-sugar --style t2t-modern.css -o- $< \
16 | sed -e '/^$$/d' -e 's/^\\$$//' > $@
17
18 clean:
19         rm -f *.5 *.html *.gz *~
20
21 online: all
22         scp grmlzshrc.html t2t-modern.css grml:/var/www/grml/zsh/
23
24 .PHONY: all clean