about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--Makefile9
-rw-r--r--cgit-doc.css3
2 files changed, 8 insertions, 4 deletions
diff --git a/Makefile b/Makefile index 687069f..70f32a4 100644 --- a/Makefile +++ b/Makefile
@@ -24,6 +24,12 @@ DOC_MAN5 = $(patsubst %.txt,%,$(MAN5_TXT))
24DOC_HTML = $(patsubst %.txt,%.html,$(MAN_TXT)) 24DOC_HTML = $(patsubst %.txt,%.html,$(MAN_TXT))
25DOC_PDF = $(patsubst %.txt,%.pdf,$(MAN_TXT)) 25DOC_PDF = $(patsubst %.txt,%.pdf,$(MAN_TXT))
26 26
27ASCIIDOC = asciidoc
28ASCIIDOC_EXTRA =
29ASCIIDOC_HTML = xhtml11
30ASCIIDOC_COMMON = $(ASCIIDOC) $(ASCIIDOC_EXTRA)
31TXT_TO_HTML = $(ASCIIDOC_COMMON) -b $(ASCIIDOC_HTML)
32
27# Define NO_C99_FORMAT if your formatted IO functions (printf/scanf et.al.) 33# Define NO_C99_FORMAT if your formatted IO functions (printf/scanf et.al.)
28# do not support the 'size specifiers' introduced by C99, namely ll, hh, 34# do not support the 'size specifiers' introduced by C99, namely ll, hh,
29# j, z, t. (representing long long int, char, intmax_t, size_t, ptrdiff_t). 35# j, z, t. (representing long long int, char, intmax_t, size_t, ptrdiff_t).
@@ -134,7 +140,8 @@ doc-pdf: $(DOC_PDF)
134 a2x -f manpage $< 140 a2x -f manpage $<
135 141
136$(DOC_HTML): %.html : %.txt 142$(DOC_HTML): %.html : %.txt
137 a2x -f xhtml --stylesheet=cgit-doc.css --xsltproc-opts="--param generate.consistent.ids 1" $< 143 $(TXT_TO_HTML) -o $@+ $< && \
144 mv $@+ $@
138 145
139$(DOC_PDF): %.pdf : %.txt 146$(DOC_PDF): %.pdf : %.txt
140 a2x -f pdf cgitrc.5.txt 147 a2x -f pdf cgitrc.5.txt
diff --git a/cgit-doc.css b/cgit-doc.css deleted file mode 100644 index 5a399b6..0000000 --- a/cgit-doc.css +++ /dev/null
@@ -1,3 +0,0 @@
1div.variablelist dt {
2 margin-top: 1em;
3}