diff options
author | isaacs <i@izs.me> | 2011-09-04 11:25:55 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-09-04 11:25:55 +0400 |
commit | 89d20d4be267629222e1860bd276a320cd94aa44 (patch) | |
tree | 64ecedbf1b5ad2c7f64ef62a7692a86a0c7dfc67 /Makefile | |
parent | 58e7b46adafc75856a122c9bc438206e28a7642d (diff) |
gubblebum font ftw
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |