Skip to content

Commit 81b12e0

Browse files
authored
Merge pull request #430 from grml/zeha/adoc
Rename asciidoc files to *.adoc
2 parents ffa7920 + ebe9b2e commit 81b12e0

9 files changed

+8
-9
lines changed

docs/Makefile

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ doc: doc_man doc_html
77
doc_html: $(addsuffix .html, $(MANPAGES))
88
doc_man: $(addsuffix .gz, $(MANPAGES))
99

10-
%.html : %.txt ;
10+
%.html : %.adoc ;
1111
asciidoc -b xhtml11 -a icons $^
1212

13-
%.gz : %.txt ;
13+
%.gz : %.adoc ;
1414
asciidoc -d manpage -b docbook $^
15-
#sed -i 's/<emphasis role="strong">/<emphasis role="bold">/g' `echo $^ |sed -e 's/.txt/.xml/'`
16-
xsltproc -nonet /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl `echo $^ |sed -e 's/.txt/.xml/'` > /dev/null 2>&1
17-
gzip -f --best `echo $^ |sed -e 's/.txt//'`
15+
#sed -i 's/<emphasis role="strong">/<emphasis role="bold">/g' `echo $^ |sed -e 's/.adoc/.xml/'`
16+
xsltproc -nonet /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl `echo $^ |sed -e 's/.adoc/.xml/'` > /dev/null 2>&1
17+
gzip -f --best `echo $^ |sed -e 's/.adoc//'`
1818

19-
grml-live.8.html: grml-live.8.txt
19+
grml-live.8.html: grml-live.8.adoc
2020
asciidoc -b xhtml11 -a icons -a toc -a numbered $^
2121

2222
icons:
@@ -29,18 +29,17 @@ icons:
2929
doc_epub: epub-stamp
3030

3131
epub-stamp:
32-
a2x --icons -a toc -a toclevels=3 -a docinfo -f epub grml-live.8.txt
32+
a2x --icons -a toc -a toclevels=3 -a docinfo -f epub grml-live.8.adoc
3333
touch epub-stamp
3434

3535
doc_pdf: pdf-stamp
3636

3737
pdf-stamp:
38-
a2x --icons -a toc -a toclevels=3 -a docinfo -f pdf grml-live.8.txt
38+
a2x --icons -a toc -a toclevels=3 -a docinfo -f pdf grml-live.8.adoc
3939
touch pdf-stamp
4040

4141
clean:
4242
rm -rf images/icons
4343
for i in $(MANPAGES); do \
4444
rm -f $$i.html $$i.xml $$i.gz $$i.pdf $$i.epub $$i; done
4545
rm -f html-stamp man-stamp epub-stamp pdf-stamp
46-
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)