Skip to content
Myr

Makefile

This file

Path

Makefile

78 lines · 1.7 KiB

Last changed by

Merge branch 'apps'Tj Holowaychukbefore adoption4e67efc

History of this file

Take it

The walk stopped after 200 commits: lines older than 4778f72 point at it.

Updated ejs submoduleTj Holowaychukbefore adoption4778f72

lines 1–8why, one step back
1
2PREFIX = /usr/local3LIB_PREFIX = ~/.node_libraries45DOCS = docs/index.md \6 docs/executable.md \7 docs/contrib.md \8 docs/guide.md \

Merge branch 'apps'Tj Holowaychukbefore adoption4e67efc

lines 9–10why, one step back
9 docs/migrate.md \
10 docs/applications.md

Updated ejs submoduleTj Holowaychukbefore adoption4778f72

lines 11–16why, one step back
11
12MANPAGES =$(DOCS:.md=.1)13HTMLDOCS =$(DOCS:.md=.html)1415install: install-docs16 @mkdir -p $(PREFIX)/bin

`make install` creating ~/.node_libraries when not presentTj Holowaychukbefore adoption9dbe026

line 17why, one step back
17 @mkdir -p $(LIB_PREFIX)

Updated ejs submoduleTj Holowaychukbefore adoption4778f72

lines 18–33why, one step back
18 cp -f bin/express $(PREFIX)/bin/express
19 cp -fr lib/express $(LIB_PREFIX)/express2021uninstall: uninstall-docs22 rm -f $(PREFIX)/bin/express23 rm -fr $(LIB_PREFIX)/express2425install-support:26 cd support/connect && $(MAKE) install27 cd support/jade && $(MAKE) install2829uninstall-support:30 cd support/connect && $(MAKE) uninstall31 cd support/jade && $(MAKE) uninstall3233install-docs:

`make install-docs` creating PREFIX/share/man/man1 when not presentTj Holowaychukbefore adoption7ec5230

line 34why, one step back
34 @mkdir -p $(PREFIX)/share/man/man1

Updated ejs submoduleTj Holowaychukbefore adoption4778f72

lines 35–40why, one step back
35 cp -f docs/executable.1 $(PREFIX)/share/man/man1/express.1
3637uninstall-docs:38 rm -f $(PREFIX)/share/man/man1/express.13940test:

Implement NODE_ENV, EXPRESS_ENV is now deprecatedTj Holowaychukbefore adoption03b56d8

line 41why, one step back
41 @NODE_ENV=test ./support/expresso/bin/expresso \

Updated ejs submoduleTj Holowaychukbefore adoption4778f72

lines 42–48why, one step back
42 -I lib \
43 -I support/connect/lib \44 -I support/haml/lib \45 -I support/jade/lib \46 -I support/ejs/lib \47 $(TESTFLAGS) \48 test/*.test.js

Merge branch 'range'Tj Holowaychukbefore adoptionfab9af2

line 49why, one step back
49

Updated ejs submoduleTj Holowaychukbefore adoption4778f72

lines 50–57why, one step back
50test-cov:
51 @TESTFLAGS=--cov $(MAKE) test5253docs: docs/api.html $(MANPAGES) $(HTMLDOCS)54 @ echo "... generating TOC"55 @./support/toc.js docs/guide.html5657docs/api.html: lib/express/*.js

Merge branch 'range'Tj Holowaychukbefore adoptionfab9af2

lines 58–60why, one step back
58 dox \
59 --private \60 --title Express \

Updated ejs submoduleTj Holowaychukbefore adoption4778f72

lines 61–78why, one step back
61 --desc "High performance web framework for [node](http://nodejs.org)." \
62 $(shell find lib/express/* -type f) > $@6364%.1: %.md65 @echo "... $< -> $@"66 @ronn -r --pipe $< > $@6768%.html: %.md69 @echo "... $< -> $@"70 @ronn -5 --pipe --fragment $< \71 | cat docs/layout/head.html - docs/layout/foot.html \72 | sed 's/NAME/Express/g' \73 > $@7475docclean:76 rm -f docs/*.{1,html}7778.PHONY: install uninstall install-docs install-support uninstall-support install-docs uninstall-docs test test-cov docs docclean