From 75296a3fefab5c8dc3abacabc2266bca30cf9756 Mon Sep 17 00:00:00 2001 From: Emily Eisenberg Date: Thu, 18 Jun 2015 15:22:12 -0700 Subject: [PATCH] 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 --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 74bb686de..a7f5a84f8 100644 --- a/Makefile +++ b/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)