Commit 3017f67d authored by Pietro Albini's avatar Pietro Albini

Publish italy-theme

parent 85b548c8
/build /build
/themes/italy
[submodule "repos/italy-theme"]
path = repos/italy-theme
url = https://code.ubuntu-it.org/ubuntu-it-web/italy-theme.git/
...@@ -25,6 +25,7 @@ DIRS_FONTS = fonts ...@@ -25,6 +25,7 @@ DIRS_FONTS = fonts
DIRS_IMAGES = themes pictograms DIRS_IMAGES = themes pictograms
DIR_BUILD = build DIR_BUILD = build
DIR_ITALY_THEME = repos/italy-theme
JS_MINIFIER = python3 -m rjsmin JS_MINIFIER = python3 -m rjsmin
CSS_MINIFIER = python3 -m rcssmin CSS_MINIFIER = python3 -m rcssmin
...@@ -45,13 +46,18 @@ images_svg = $(patsubst %,$(DIR_BUILD)/%,$(shell find $(DIRS_IMAGES) -type f -na ...@@ -45,13 +46,18 @@ images_svg = $(patsubst %,$(DIR_BUILD)/%,$(shell find $(DIRS_IMAGES) -type f -na
.PHONY: build clean .PHONY: build clean italy-theme
build: $(js) $(css) $(fonts_ttf) $(fonts_eot) $(fonts_woff) $(images_png) $(images_jpg) $(images_svg) build: italy-theme $(js) $(css) $(fonts_ttf) $(fonts_eot) $(fonts_woff) $(images_png) $(images_jpg) $(images_svg)
clean: clean:
@rm -rf $(DIR_BUILD) @rm -rf $(DIR_BUILD)
italy-theme:
@git submodule update --init --recursive $(DIR_ITALY_THEME)
@$(MAKE) -C $(DIR_ITALY_THEME)
@mkdir -p themes/italy
@cp -r $(DIR_ITALY_THEME)/build/* themes/italy
$(DIR_BUILD)/%.min.js: %.js $(DIR_BUILD)/%.min.js: %.js
......
italy-theme @ 36d3d97a
Subproject commit 36d3d97a7e366f394d2312b0b1d8c086cdbc683c
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