projects
/
skytools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
513bd80
)
doc/makefile: simplify sed expression
author
Marko Kreen
<markokr@gmail.com>
Wed, 28 Dec 2011 20:19:06 +0000
(22:19 +0200)
committer
Marko Kreen
<markokr@gmail.com>
Wed, 28 Dec 2011 20:19:06 +0000
(22:19 +0200)
older seds dont like ';'
doc/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/doc/Makefile
b/doc/Makefile
index fe8d3d55ade436f17d49323d4d8580769f1cfc04..3570fc18507b99ba287332d7b06be9795b3c9645 100644
(file)
--- a/
doc/Makefile
+++ b/
doc/Makefile
@@
-105,7
+105,7
@@
endif
html/%.html: %.txt $(COMMON)
@mkdir -p html
LANG=C cat $< \
- | sed -e '/^include/b
;
s,\([A-Za-z.0-9]*\)[.]txt,link:\1.html[],g' \
+ | sed -e '/^include/b
' -e '
s,\([A-Za-z.0-9]*\)[.]txt,link:\1.html[],g' \
| $(ASCIIDOC) $(AFLAGS) -a toc `$(GETATTRS) $<` -o - - \
| sed -e "/^[/][*] Workarounds/r ../misc/extra.css" \
> $@