Add a dist rule to the Makefile

Summary: Adds a `dist` rule to the Makefile which builds the `dist/`
directory with all of the built files in it.

Test plan:
 - `make dist`

Auditors: alpert
This commit is contained in:
Emily Eisenberg 2015-06-18 15:22:12 -07:00
parent 32e8ffef4f
commit 75296a3fef

View File

@ -1,6 +1,9 @@
.PHONY: build lint setup copy serve clean metrics test zip contrib
.PHONY: build dist lint setup copy serve clean metrics test zip contrib
build: setup lint build/katex.min.js build/katex.min.css contrib zip compress
dist: build
cp --recursive build/katex dist
# Export these variables for use in contrib Makefiles
export BUILDDIR = $(realpath build)
export BROWSERIFY = $(realpath ./node_modules/.bin/browserify)