Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 20 lines (13 sloc) 0.251 kb
c638e80 @isaacs Add a makefile to build the man page.
isaacs authored
1
8d625f2 @isaacs Install all the man files as npm-<section> so that you can do man npm…
isaacs authored
2 docs = $(shell ls doc/*.md \
3 |sed 's|.md|.1|g' \
4 |sed 's|doc/|man/|g' \
5 )
86c296f @isaacs Add commands to make man files from the docs.
isaacs authored
6
a179be6 @isaacs Handle docs better so that the installed docs are always in sync with…
isaacs authored
7 install:
8 @node install-npm.js
86c296f @isaacs Add commands to make man files from the docs.
isaacs authored
9
10 man:
e3e176c @isaacs Don't echo the "true" stuffs
isaacs authored
11 @mkdir man
86c296f @isaacs Add commands to make man files from the docs.
isaacs authored
12
492924c @isaacs Move more of the documentation to ronn's domain
isaacs authored
13 doc: man $(docs)
e3e176c @isaacs Don't echo the "true" stuffs
isaacs authored
14 @true
c638e80 @isaacs Add a makefile to build the man page.
isaacs authored
15
86c296f @isaacs Add commands to make man files from the docs.
isaacs authored
16 man/%.1: doc/%.md
17 ronn --roff $< > $@
c638e80 @isaacs Add a makefile to build the man page.
isaacs authored
18
a179be6 @isaacs Handle docs better so that the installed docs are always in sync with…
isaacs authored
19 .PHONY: install doc clean uninstall
Something went wrong with that request. Please try again.