Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 39 lines (27 sloc) 0.604 kb
c638e80 isaacs Add a makefile to build the man page.
isaacs authored
1
de338f9 isaacs Support subfolders in the man/doc files
isaacs authored
2 docs = $(shell find doc -name '*.md' \
3 |sed 's|.md|.1|g' \
4 |sed 's|doc/|man/|g' \
5 )
6 doc_subfolders = $(shell find doc -type d \
7 |sed 's|doc/|man/|g' \
8 )
86c296f isaacs Add commands to make man files from the docs.
isaacs authored
9
c371bd2 isaacs Change "install-stable" to "install" and "install" to "install-dev"
isaacs authored
10 install:
e7d403e isaacs Change the way that cli.js is run to hopefully work on Cygwin
isaacs authored
11 node cli.js install npm
743d387 isaacs Improve install process.
isaacs authored
12
c371bd2 isaacs Change "install-stable" to "install" and "install" to "install-dev"
isaacs authored
13 dev:
e7d403e isaacs Change the way that cli.js is run to hopefully work on Cygwin
isaacs authored
14 node cli.js install .
743d387 isaacs Improve install process.
isaacs authored
15
16 link:
e7d403e isaacs Change the way that cli.js is run to hopefully work on Cygwin
isaacs authored
17 node cli.js link .
743d387 isaacs Improve install process.
isaacs authored
18
19 uninstall:
e7d403e isaacs Change the way that cli.js is run to hopefully work on Cygwin
isaacs authored
20 node cli.js cache clean
21 node cli.js rm npm
86c296f isaacs Add commands to make man files from the docs.
isaacs authored
22
de338f9 isaacs Support subfolders in the man/doc files
isaacs authored
23 man: $(doc_subfolders)
24 @if ! test -d man ; then mkdir -p man ; fi
86c296f isaacs Add commands to make man files from the docs.
isaacs authored
25
492924c isaacs Move more of the documentation to ronn's domain
isaacs authored
26 doc: man $(docs)
e3e176c isaacs Don't echo the "true" stuffs
isaacs authored
27 @true
c638e80 isaacs Add a makefile to build the man page.
isaacs authored
28
86c296f isaacs Add commands to make man files from the docs.
isaacs authored
29 man/%.1: doc/%.md
9e87e14 isaacs Use `npm install ronn` instead of `gem install ronn`
isaacs authored
30 ronn --roff $< > $@
c638e80 isaacs Add a makefile to build the man page.
isaacs authored
31
de338f9 isaacs Support subfolders in the man/doc files
isaacs authored
32 man/%/: doc/%/
33 @if ! test -d $@ ; then mkdir -p $@ ; fi
34
90c9ec8 isaacs Make test (quietly)
isaacs authored
35 test:
36 ./test/run.sh
37
c371bd2 isaacs Change "install-stable" to "install" and "install" to "install-dev"
isaacs authored
38 .PHONY: install install-dev link doc clean uninstall test
Something went wrong with that request. Please try again.