Skip to content
Myr

Makefile

This file

Path

Makefile

68 lines · 1.5 KiB

Last changed by

Added `make install-docs`Tj Holowaychukbefore adoption73050d3

History of this file

Take it

The walk stopped after 200 commits: lines older than 606da1c point at it.

Merge branch 'integration'visionmediabefore adoption606da1c

line 1why, one step back
1

Added `make installTj Holowaychukbefore adoption6770e85

lines 2–4why, one step back
2PREFIX = /usr/local
3LIB_PREFIX = ~/.node_libraries4

Added migrate doc filesTj Holowaychukbefore adoption87bb27c

line 5why, one step back
5DOCS = docs/index.md \

Executable docsTj Holowaychukbefore adoption21eeb09

line 6why, one step back
6 docs/executable.md \

Added migrate doc filesTj Holowaychukbefore adoption87bb27c

lines 7–8why, one step back
7 docs/migrate.md
8

Added `make docs`Tj Holowaychukbefore adoption939cf45

lines 9–11why, one step back
9MANPAGES =$(DOCS:.md=.1)
10HTMLDOCS =$(DOCS:.md=.html)11

Added `make install-docs`Tj Holowaychukbefore adoption73050d3

line 12why, one step back
12install: install-docs

Added `make installTj Holowaychukbefore adoption6770e85

lines 13–16why, one step back
13 @mkdir -p $(PREFIX)/bin
14 cp -f bin/express $(PREFIX)/bin/express15 cp -fr lib/express $(LIB_PREFIX)/express16

Added `make install-docs`Tj Holowaychukbefore adoption73050d3

line 17why, one step back
17uninstall: uninstall-docs

Added `make installTj Holowaychukbefore adoption6770e85

lines 18–20why, one step back
18 rm -f $(PREFIX)/bin/express
19 rm -fr $(LIB_PREFIX)/express20

Added `make install-support` and `make uninstall-support`Tj Holowaychukbefore adoption774e25d

lines 21–28why, one step back
21install-support:
22 cd support/connect && $(MAKE) install23 cd support/jade && $(MAKE) install2425uninstall-support:26 cd support/connect && $(MAKE) uninstall27 cd support/jade && $(MAKE) uninstall28

Added `make install-docs`Tj Holowaychukbefore adoption73050d3

lines 29–34why, one step back
29install-docs:
30 cp -f docs/executable.1 $(PREFIX)/share/man/man1/express.13132uninstall-docs:33 rm -f $(PREFIX)/share/man/man1/express.134

Merge branch 'integration'visionmediabefore adoption606da1c

line 35why, one step back
35test:

Added Connect submoduleTj Holowaychukbefore adoption25e7967

lines 36–38why, one step back
36 @CONNECT_ENV=test ./support/expresso/bin/expresso \
37 -I lib \38 -I support/connect/lib \

Added haml testTj Holowaychukbefore adoptiondc5caeb

line 39why, one step back
39 -I support/haml/lib \

Added jade submoduleTj Holowaychukbefore adoption0ffbc6e

line 40why, one step back
40 -I support/jade/lib \

Added ejs submoduleTj Holowaychukbefore adoptionb095a42

line 41why, one step back
41 -I support/ejs/lib \

Added `make test-cov`Tj Holowaychukbefore adoption0515e14

line 42why, one step back
42 $(TESTFLAGS) \

Added Connect submoduleTj Holowaychukbefore adoption25e7967

line 43why, one step back
43 test/*.test.js

Added `make test-cov`Tj Holowaychukbefore adoption0515e14

lines 44–45why, one step back
44test-cov:
45 @TESTFLAGS=--cov $(MAKE) test

Merge branch 'integration'visionmediabefore adoption606da1c

line 46why, one step back
46

Added `make docs`Tj Holowaychukbefore adoption939cf45

lines 47–48why, one step back
47docs: docs/api.html $(MANPAGES) $(HTMLDOCS)
48

Generated docsTj Holowaychukbefore adoptionbafa300

line 49why, one step back
49docs/api.html: lib/express/*.js

Added `make docs`Tj Holowaychukbefore adoption939cf45

lines 50–55why, one step back
50 dox --title Express \
51 --desc "High performance web framework for [node](http://nodejs.org)." \52 $(shell find lib/express/* -type f) > $@5354%.1: %.md55 @echo "... $< -> $@"

Started new docsTj Holowaychukbefore adoption29641ae

line 56why, one step back
56 @ronn -r --pipe $< > $@ &

Added `make docs`Tj Holowaychukbefore adoption939cf45

lines 57–60why, one step back
57
58%.html: %.md59 @echo "... $< -> $@"60 @ronn -5 --pipe --fragment $< \

Started new docsTj Holowaychukbefore adoption29641ae

lines 61–63why, one step back
61 | cat docs/layout/head.html - docs/layout/foot.html \
62 | sed 's/NAME/Express/g' \63 > $@ &

Added `make docs`Tj Holowaychukbefore adoption939cf45

lines 64–67why, one step back
64
65docclean:66 rm -f docs/*.{1,html}67

Added `make install-docs`Tj Holowaychukbefore adoption73050d3

line 68why, one step back
68.PHONY: install uninstall install-docs install-support uninstall-support install-docs uninstall-docs test test-cov docs docclean