Skip to content
Myr

Makefile

This file

Path

Makefile

77 lines · 1.7 KiB

Last changed by

Merge branch 'range'Tj Holowaychukbefore adoptionfab9af2

History of this file

Take it

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

Added test for layouts in a directoryTj Holowaychukbefore adoptionb463bd7

lines 1–15why, 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 \9 docs/migrate.md1011MANPAGES =$(DOCS:.md=.1)12HTMLDOCS =$(DOCS:.md=.html)1314install: install-docs15 @mkdir -p $(PREFIX)/bin

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

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

Added test for layouts in a directoryTj Holowaychukbefore adoptionb463bd7

lines 17–32why, one step back
17 cp -f bin/express $(PREFIX)/bin/express
18 cp -fr lib/express $(LIB_PREFIX)/express1920uninstall: uninstall-docs21 rm -f $(PREFIX)/bin/express22 rm -fr $(LIB_PREFIX)/express2324install-support:25 cd support/connect && $(MAKE) install26 cd support/jade && $(MAKE) install2728uninstall-support:29 cd support/connect && $(MAKE) uninstall30 cd support/jade && $(MAKE) uninstall3132install-docs:

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

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

Added test for layouts in a directoryTj Holowaychukbefore adoptionb463bd7

lines 34–39why, one step back
34 cp -f docs/executable.1 $(PREFIX)/share/man/man1/express.1
3536uninstall-docs:37 rm -f $(PREFIX)/share/man/man1/express.13839test:

Implement NODE_ENV, EXPRESS_ENV is now deprecatedTj Holowaychukbefore adoption03b56d8

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

Added test for layouts in a directoryTj Holowaychukbefore adoptionb463bd7

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

Merge branch 'range'Tj Holowaychukbefore adoptionfab9af2

line 48why, one step back
48

Added test for layouts in a directoryTj Holowaychukbefore adoptionb463bd7

lines 49–56why, one step back
49test-cov:
50 @TESTFLAGS=--cov $(MAKE) test5152docs: docs/api.html $(MANPAGES) $(HTMLDOCS)53 @ echo "... generating TOC"54 @./support/toc.js docs/guide.html5556docs/api.html: lib/express/*.js

Merge branch 'range'Tj Holowaychukbefore adoptionfab9af2

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

Added test for layouts in a directoryTj Holowaychukbefore adoptionb463bd7

lines 60–77why, one step back
60 --desc "High performance web framework for [node](http://nodejs.org)." \
61 $(shell find lib/express/* -type f) > $@6263%.1: %.md64 @echo "... $< -> $@"65 @ronn -r --pipe $< > $@6667%.html: %.md68 @echo "... $< -> $@"69 @ronn -5 --pipe --fragment $< \70 | cat docs/layout/head.html - docs/layout/foot.html \71 | sed 's/NAME/Express/g' \72 > $@7374docclean:75 rm -f docs/*.{1,html}7677.PHONY: install uninstall install-docs install-support uninstall-support install-docs uninstall-docs test test-cov docs docclean