From 17690f2d73b640cf4bbf082fe96f5b3075a040fe Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 21 Nov 2018 18:30:14 +0100 Subject: build: add build option to minify *.js files Signed-off-by: Jo-Philipp Wich --- modules/luci-base/src/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/luci-base/src/Makefile') diff --git a/modules/luci-base/src/Makefile b/modules/luci-base/src/Makefile index 03e887e1d..3e6ead108 100644 --- a/modules/luci-base/src/Makefile +++ b/modules/luci-base/src/Makefile @@ -4,6 +4,9 @@ clean: rm -f po2lmo parser.so version.lua *.o +jsmin: jsmin.o + $(CC) $(LDFLAGS) -o $@ $^ + po2lmo: po2lmo.o template_lmo.o $(CC) $(LDFLAGS) -o $@ $^ -- cgit v1.2.3