2022-08-17 16:47:26 +00:00
|
|
|
RESULT = static/css/cacert.bundle.css static/js/cacert.bundle.js
|
|
|
|
SOURCES = $(shell find frontend_src -type f) webpack.config.js package.json
|
|
|
|
YARN = /usr/bin/yarnpkg
|
|
|
|
|
|
|
|
all: $(RESULT)
|
|
|
|
|
|
|
|
$(RESULT): $(SOURCES)
|
|
|
|
$(YARN)
|
2022-08-17 17:27:26 +00:00
|
|
|
$(YARN) run build-prod
|
2022-08-17 16:47:26 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf static
|
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
rm -rf node_modules
|
|
|
|
|
|
|
|
.PHONY: all clean distclean
|