diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -64,7 +64,6 @@ html/doc/README.html: README.md html/dochead.html html/docfoot.html | 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' \ | perl -pi -e 's/README/<a href="README.html">README<\/a>/g' \ > $@ @@ -78,8 +77,7 @@ html/doc/%.html: doc/%.md html/dochead.html html/docfoot.html | sed 's|@NAME@|$*|g' \ | sed 's|@DATE@|$(shell date -u +'%Y-%M-%d %H:%m:%S')|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="\1.html">npm \1<\/a>/g' \ | perl -pi -e 's/npm\(1\)/<a href="npm.html">npm<\/a>/g' \ | perl -pi -e 's/README/<a href="README.html">README<\/a>/g' \ > $@ |