Makefile
This file
Path
Makefile
74 lines · 1.7 KiB
Last changed by
`make install-docs` creating PREFIX/share/man/man1 when not presentTj Holowaychukbefore adoption7ec5230
History of this fileTake it
The walk stopped after 200 commits: lines older than 6c3d3de point at it.
TasksTj Holowaychukbefore adoption6c3d3de
lines 1–15why, one step back12PREFIX = /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 back16 @mkdir -p $(LIB_PREFIX)TasksTj Holowaychukbefore adoption6c3d3de
lines 17–23why, one step back17 cp -f bin/express $(PREFIX)/bin/express18 cp -fr lib/express $(LIB_PREFIX)/express1920uninstall: uninstall-docs21 rm -f $(PREFIX)/bin/express22 rm -fr $(LIB_PREFIX)/express23Revert "Removed `make install-support`"Tj Holowaychukbefore adoption880fb5b
lines 24–31why, one step back24install-support:25 cd support/connect && $(MAKE) install26 cd support/jade && $(MAKE) install2728uninstall-support:29 cd support/connect && $(MAKE) uninstall30 cd support/jade && $(MAKE) uninstall31TasksTj Holowaychukbefore adoption6c3d3de
line 32why, one step back32install-docs:`make install-docs` creating PREFIX/share/man/man1 when not presentTj Holowaychukbefore adoption7ec5230
line 33why, one step back33 @mkdir -p $(PREFIX)/share/man/man1TasksTj Holowaychukbefore adoption6c3d3de
lines 34–51why, one step back34 cp -f docs/executable.1 $(PREFIX)/share/man/man1/express.13536uninstall-docs:37 rm -f $(PREFIX)/share/man/man1/express.13839test:40 @CONNECT_ENV=test ./support/expresso/bin/expresso \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.js48test-cov:49 @TESTFLAGS=--cov $(MAKE) test5051docs: docs/api.html $(MANPAGES) $(HTMLDOCS)Merge branch 'docs' into connectTj Holowaychukbefore adoption492f70f
lines 52–53why, one step back52 @ echo "... generating TOC"53 @./support/toc.js docs/guide.htmlTasksTj Holowaychukbefore adoption6c3d3de
lines 54–61why, one step back5455docs/api.html: lib/express/*.js56 dox --title Express \57 --desc "High performance web framework for [node](http://nodejs.org)." \58 $(shell find lib/express/* -type f) > $@5960%.1: %.md61 @echo "... $< -> $@"Merge branch 'docs' into connectTj Holowaychukbefore adoption492f70f
line 62why, one step back62 @ronn -r --pipe $< > $@TasksTj Holowaychukbefore adoption6c3d3de
lines 63–68why, one step back6364%.html: %.md65 @echo "... $< -> $@"66 @ronn -5 --pipe --fragment $< \67 | cat docs/layout/head.html - docs/layout/foot.html \68 | sed 's/NAME/Express/g' \Merge branch 'docs' into connectTj Holowaychukbefore adoption492f70f
line 69why, one step back69 > $@TasksTj Holowaychukbefore adoption6c3d3de
lines 70–73why, one step back7071docclean:72 rm -f docs/*.{1,html}73Revert "Removed `make install-support`"Tj Holowaychukbefore adoption880fb5b
line 74why, one step back74.PHONY: install uninstall install-docs install-support uninstall-support install-docs uninstall-docs test test-cov docs docclean