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
140140 endif
141141
142142 # 1) Preprocess CSS to a minified version
143+%.css.min: TAG = SED
143144 %.css.min: %.css
144− # Must start with a tab in the real Makefile
145− sed 's!/\\*.*\\*/!!g' $< \
145+ $(M)sed 's!/\\*.*\\*/!!g' $< \
146146 | tr '\n' ' ' \
147147 | tr -s ' ' \
148148 | sed 's/^ //; s/ $$//' \
@@ -151,6 +151,7 @@ endif · 2 unmodified lines
151151 ifdef CONFIG_RESOURCE_COMPRESSION
152152
153153 # 2) Gzip the minified CSS
154+%.css.min.gz: TAG = GZIP
154155 %.css.min.gz: %.css.min
155156 $(M)gzip -nc9 $< > $@
156157
@@ -159,6 +160,7 @@ ifdef CONFIG_RESOURCE_COMPRESSION · 2 unmodified lines
159160 $(BIN2C) $< $@ $(subst .,_,$(basename $(notdir $@)))
160161
161162 # 4) Gzip the HTML file (no minification needed)
163+%.html.gz: TAG = GZIP
162164 %.html.gz: %.html
163165 $(M)gzip -nc9 $< > $@
164166

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