Makefile
This file
Path
Makefile
72 lines · 1.6 KiB
Last changed by
Removed --growl from `make test`Tj Holowaychukbefore adoption446406d
History of this fileTake it
The walk stopped after 200 commits: lines older than 59ac3d1 point at it.
Merge branch 'github' into connectTj Holowaychukbefore adoption59ac3d1
lines 1–6why, one step back12PREFIX = /usr/local3LIB_PREFIX = ~/.node_libraries45DOCS = docs/index.md \6 docs/executable.md \Added contrib docsTj Holowaychukbefore adoptionf0ba57b
line 7why, one step back7 docs/contrib.md \Merge branch 'github' into connectTj Holowaychukbefore adoption59ac3d1
lines 8–22why, one step back8 docs/guide.md \9 docs/migrate.md1011MANPAGES =$(DOCS:.md=.1)12HTMLDOCS =$(DOCS:.md=.html)1314install: install-docs15 @mkdir -p $(PREFIX)/bin16 cp -f bin/express $(PREFIX)/bin/express17 cp -fr lib/express $(LIB_PREFIX)/express1819uninstall: uninstall-docs20 rm -f $(PREFIX)/bin/express21 rm -fr $(LIB_PREFIX)/express22Revert "Removed `make install-support`"Tj Holowaychukbefore adoption880fb5b
lines 23–30why, one step back23install-support:24 cd support/connect && $(MAKE) install25 cd support/jade && $(MAKE) install2627uninstall-support:28 cd support/connect && $(MAKE) uninstall29 cd support/jade && $(MAKE) uninstall30Merge branch 'github' into connectTj Holowaychukbefore adoption59ac3d1
lines 31–49why, one step back31install-docs:32 cp -f docs/executable.1 $(PREFIX)/share/man/man1/express.13334uninstall-docs:35 rm -f $(PREFIX)/share/man/man1/express.13637test:38 @CONNECT_ENV=test ./support/expresso/bin/expresso \39 -I lib \40 -I support/connect/lib \41 -I support/haml/lib \42 -I support/jade/lib \43 -I support/ejs/lib \44 $(TESTFLAGS) \45 test/*.test.js46test-cov:47 @TESTFLAGS=--cov $(MAKE) test4849docs: docs/api.html $(MANPAGES) $(HTMLDOCS)Merge branch 'docs' into connectTj Holowaychukbefore adoption492f70f
lines 50–51why, one step back50 @ echo "... generating TOC"51 @./support/toc.js docs/guide.htmlMerge branch 'github' into connectTj Holowaychukbefore adoption59ac3d1
lines 52–59why, one step back5253docs/api.html: lib/express/*.js54 dox --title Express \55 --desc "High performance web framework for [node](http://nodejs.org)." \56 $(shell find lib/express/* -type f) > $@5758%.1: %.md59 @echo "... $< -> $@"Merge branch 'docs' into connectTj Holowaychukbefore adoption492f70f
line 60why, one step back60 @ronn -r --pipe $< > $@Merge branch 'github' into connectTj Holowaychukbefore adoption59ac3d1
lines 61–66why, one step back6162%.html: %.md63 @echo "... $< -> $@"64 @ronn -5 --pipe --fragment $< \65 | cat docs/layout/head.html - docs/layout/foot.html \66 | sed 's/NAME/Express/g' \Merge branch 'docs' into connectTj Holowaychukbefore adoption492f70f
line 67why, one step back67 > $@Merge branch 'github' into connectTj Holowaychukbefore adoption59ac3d1
lines 68–71why, one step back6869docclean:70 rm -f docs/*.{1,html}71Revert "Removed `make install-support`"Tj Holowaychukbefore adoption880fb5b
line 72why, one step back72.PHONY: install uninstall install-docs install-support uninstall-support install-docs uninstall-docs test test-cov docs docclean