A copyright violation detector running on Wikimedia Cloud Services https://tools.wmflabs.org/copyvios/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

27 lines
569 B

  1. MAKEJS := uglifyjs --compress
  2. MAKECSS := postcss -u cssnano --no-map
  3. STATIC_DIR := src/copyvios/static
  4. .PHONY: all js css
  5. .INTERMEDIATE: $(STATIC_DIR)/style.tmp.css
  6. all: js css
  7. js: $(STATIC_DIR)/script.min.js
  8. css: $(STATIC_DIR)/style.min.css $(STATIC_DIR)/api.min.css
  9. $(STATIC_DIR)/script.min.js: $(STATIC_DIR)/script.js
  10. $(MAKEJS) -o $@ -- $^
  11. $(STATIC_DIR)/style.tmp.css: $(STATIC_DIR)/css/*.css
  12. cat $^ > $@
  13. $(STATIC_DIR)/style.min.css: $(STATIC_DIR)/style.tmp.css
  14. $(MAKECSS) -o $@ $^
  15. $(STATIC_DIR)/api.min.css: $(STATIC_DIR)/api.css
  16. $(MAKECSS) -o $@ $^