Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2011-09-04 11:25:55 +0400
committerisaacs <i@izs.me>2011-09-04 11:25:55 +0400
commit89d20d4be267629222e1860bd276a320cd94aa44 (patch)
tree64ecedbf1b5ad2c7f64ef62a7692a86a0c7dfc67 /Makefile
parent58e7b46adafc75856a122c9bc438206e28a7642d (diff)
gubblebum font ftw
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 96079835e..f34315a77 100644
--- a/Makefile
+++ b/Makefile
@@ -64,8 +64,10 @@ html/doc/%.html: doc/%.md html/dochead.html html/docfoot.html html/doc
cat html/docfoot.html )\
| sed 's|@NAME@|$*|g' \
| sed 's|@DATE@|$(shell date -u +'%Y-%M-%d %H:%m:%S')|g' \
- | perl -pi -e 's/npm-([^\)]+)\(1\)/<a href="\1.html">npm-\1(1)<\/a>/g' \
- | perl -pi -e 's/npm\(1\)/<a href="npm.html">npm(1)<\/a>/g' \
+ | perl -pi -e 's/<h1>npm-([^\(]+\([0-9]\)) -- (.*?)<\/h1>/<h1>npm-\1<\/h1> <p>\2<\/p>/g' \
+ | perl -pi -e 's/npm-([^\)]+)\(1\)/<a href="\1.html">npm-\1<\/a>/g' \
+ | perl -pi -e 's/npm\(1\)/<a href="npm.html">npm<\/a>/g' \
+ | perl -pi -e 's/npm\(1\)/<a href="npm.html">npm<\/a>/g' \
> $@
html/doc/%/: doc/%/ html/doc