projects
/
grml-scripts-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a4d177f
)
Adjust Makefile to get rid of '.sp' sequences in asciidoc manpages. [Closes: issue567]
v1.1.17
author
Michael Prokop
<mika@grml.org>
Thu, 12 Feb 2009 19:50:38 +0000
(20:50 +0100)
committer
Michael Prokop
<mika@grml.org>
Thu, 12 Feb 2009 19:50:38 +0000
(20:50 +0100)
debian/changelog
patch
|
blob
|
history
doc/Makefile
patch
|
blob
|
history
diff --git
a/debian/changelog
b/debian/changelog
index
e7ecb29
..
39160b5
100644
(file)
--- a/
debian/changelog
+++ b/
debian/changelog
@@
-7,7
+7,11
@@
grml-scripts (1.1.17) unstable; urgency=low
osd_server.py depends on them.
[Closes: issue172]
osd_server.py depends on them.
[Closes: issue172]
- -- Michael Prokop <mika@grml.org> Thu, 12 Feb 2009 19:26:04 +0100
+ [ Michael Prokop ]
+ * Adjust Makefile to get rid of '.sp' sequences in asciidoc
+ manpages. [Closes: issue567]
+
+ -- Michael Prokop <mika@grml.org> Thu, 12 Feb 2009 20:49:56 +0100
grml-scripts (1.1.16) unstable; urgency=low
grml-scripts (1.1.16) unstable; urgency=low
diff --git
a/doc/Makefile
b/doc/Makefile
index
ff2d4ed
..
8bfac8c
100644
(file)
--- a/
doc/Makefile
+++ b/
doc/Makefile
@@
-1,9
+1,13
@@
-
%.html : %.txt ;
asciidoc -b xhtml11 $^
%.gz : %.txt ;
%.html : %.txt ;
asciidoc -b xhtml11 $^
%.gz : %.txt ;
- a2x -f manpage $^ 2>&1 |grep -v '^Note: ' >&2
+ #a2x -f manpage $^ 2>&1 |grep -v '^Note: ' >&2
+ #gzip -f --best $(patsubst %.txt,%, $^)
+ asciidoc -d manpage -b docbook $^
+ xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl $(patsubst %.txt,%.xml, $^)
+ # try to get rid of ".sp" sequences, see http://bts.grml.org/grml/issue567
+ sed -i 's/\.sp//' $(patsubst %.txt,%, $^)
gzip -f --best $(patsubst %.txt,%, $^)
MANPAGES = $(patsubst %.txt,%,$(wildcard *.txt))
gzip -f --best $(patsubst %.txt,%, $^)
MANPAGES = $(patsubst %.txt,%,$(wildcard *.txt))