Commit c901fe68 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Move dependencies to different make target

parent c4b62167
...@@ -12,12 +12,14 @@ include config.mk # defines HTTPDUSER ...@@ -12,12 +12,14 @@ include config.mk # defines HTTPDUSER
SCRIPTS := $(patsubst %,$(WWW_DIR)/js/%.js,$(SCRIPTS)) SCRIPTS := $(patsubst %,$(WWW_DIR)/js/%.js,$(SCRIPTS))
STYLES := $(patsubst %,$(WWW_DIR)/css/%.css,$(STYLES)) STYLES := $(patsubst %,$(WWW_DIR)/css/%.css,$(STYLES))
.PHONY: all static min translations clean cleaner .PHONY: all deps static min translations clean cleaner
all: $(LIB_DIR)/autoload.php static $(CACHE_DIR) translations all: static $(CACHE_DIR) translations
# Dependencies # Dependencies
deps: $(LIB_DIR)/autoload.php
$(LIB_DIR)/autoload.php: $(LIB_DIR) composer.json $(LIB_DIR)/autoload.php: $(LIB_DIR) composer.json
composer update composer update
...@@ -50,7 +52,7 @@ min: static ...@@ -50,7 +52,7 @@ min: static
# Tmp files # Tmp files
$(CACHE_DIR): $(CACHE_DIR):
mkdir $@ mkdir -p $@
setfacl -R -m u:$(HTTPDUSER):rwX -- $@ setfacl -R -m u:$(HTTPDUSER):rwX -- $@
# Gettext translations # Gettext translations
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment