Makefile revision c5eeeb5cc5fdca25f16cb4f2fd3e59dd0f937deb
# -- Constants -----------------------------------------------------------------
# Path to the "lib" directory of a Handlebars.js git checkout.
# Path to which YUI Handlebars source files should be written.
# Comment to prepend to the imported source files.
# Files that make up the handlebars-base module. We intentionally skip utils.js
# because we've reimplemented that for YUI.
BASE_FILES = \
# Files that make up the handlebars-compiler module.
COMPILER_FILES = \
# -- Targets -------------------------------------------------------------------
# target: all - Default target.
# target: clean - Removes imported source files.
# target: import - Imports Handlebars.js source files from a separate repo.
# target: import-base - Imports the source files that make up handlebars-base.
# target: import-compiler - Imports the source files that make up handlebars-compiler.
# target: help - Displays help.
help:
@sed -n '/^\/\/ BEGIN(BROWSER)$$/,/^\/\/ END(BROWSER)$$/p' $< >> $@
@sed -n '/^\/\/ BEGIN(BROWSER)$$/,/^\/\/ END(BROWSER)$$/p' $< >> $@
@cat $< >> $@