History

ffbuild: correctly silence and tag new css/html steps

Timo Rothenpieler committed 1 year ago

Commit af943831 parent 4cb42551 file · +4 −2Browse files

Unified · Split

ffbuild/common.mak+4−2
@@ -140,9 +140,9 @@ else · 139 unmodified lines
140endif140endif
141 141
142# 1) Preprocess CSS to a minified version142# 1) Preprocess CSS to a minified version
143%.css.min: TAG = SED
143%.css.min: %.css144%.css.min: %.css
144 # Must start with a tab in the real Makefile145 $(M)sed 's!/\\*.*\\*/!!g' $< \
145 sed 's!/\\*.*\\*/!!g' $< \
146 | tr '\n' ' ' \146 | tr '\n' ' ' \
147 | tr -s ' ' \147 | tr -s ' ' \
148 | sed 's/^ //; s/ $$//' \148 | sed 's/^ //; s/ $$//' \
@@ -151,6 +151,7 @@ endif · 2 unmodified lines
151ifdef CONFIG_RESOURCE_COMPRESSION151ifdef CONFIG_RESOURCE_COMPRESSION
152 152
153# 2) Gzip the minified CSS153# 2) Gzip the minified CSS
154%.css.min.gz: TAG = GZIP
154%.css.min.gz: %.css.min155%.css.min.gz: %.css.min
155 $(M)gzip -nc9 $< > $@156 $(M)gzip -nc9 $< > $@
156 157
@@ -159,6 +160,7 @@ ifdef CONFIG_RESOURCE_COMPRESSION · 2 unmodified lines
159 $(BIN2C) $< $@ $(subst .,_,$(basename $(notdir $@)))160 $(BIN2C) $< $@ $(subst .,_,$(basename $(notdir $@)))
160 161
161# 4) Gzip the HTML file (no minification needed)162# 4) Gzip the HTML file (no minification needed)
163%.html.gz: TAG = GZIP
162%.html.gz: %.html164%.html.gz: %.html
163 $(M)gzip -nc9 $< > $@165 $(M)gzip -nc9 $< > $@
164 166

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t