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:
parent
32e8ffef4f
commit
75296a3fef
5
Makefile
5
Makefile
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user