17 lines
323 B
Makefile
17 lines
323 B
Makefile
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)
|
|
$(YARN) run build
|
|
|
|
clean:
|
|
rm -rf static
|
|
|
|
distclean: clean
|
|
rm -rf node_modules
|
|
|
|
.PHONY: all clean distclean
|