forked from AuroraMiddleware/gtk
build: De-duplicate options to sassc
If we want to change the list of options we use with sassc, not having to copy-paste them in multiple rules would be a good start.
This commit is contained in:
parent
dc471fa258
commit
5376fa36a8
@ -1354,17 +1354,19 @@ scss_verbose = $(scss_verbose_@AM_V@)
|
|||||||
scss_verbose_ = $(scss_verbose_@AM_DEFAULT_V@)
|
scss_verbose_ = $(scss_verbose_@AM_DEFAULT_V@)
|
||||||
scss_verbose_0 = @echo " SCSS $@";
|
scss_verbose_0 = @echo " SCSS $@";
|
||||||
|
|
||||||
theme/Adwaita/gtk-contained.css: $(top_srcdir)/gtk/theme/Adwaita/gtk-contained.scss
|
SASSC_OPTS = -a
|
||||||
$(scss_verbose) $(MKDIR_P) $(dir $@) && $(SASSC) -a $< $@ || rm -f $@
|
|
||||||
|
|
||||||
theme/Adwaita/gtk-contained-dark.css: $(top_srcdir)/gtk/theme/Adwaita/gtk-contained-dark.scss
|
theme/Adwaita/gtk-contained.css: $(top_srcdir)/gtk/theme/Adwaita/gtk-contained.scss $(adwaita_theme_scss)
|
||||||
$(scss_verbose) $(MKDIR_P) $(dir $@) && $(SASSC) -a $< $@ || rm -f $@
|
$(scss_verbose) $(MKDIR_P) $(dir $@) && $(SASSC) $(SASSC_OPTS) $< $@ || rm -f $@
|
||||||
|
|
||||||
theme/HighContrast/gtk-contained.css: $(top_srcdir)/gtk/theme/HighContrast/gtk-contained.scss
|
theme/Adwaita/gtk-contained-dark.css: $(top_srcdir)/gtk/theme/Adwaita/gtk-contained-dark.scss $(adwaita_theme_scss)
|
||||||
$(scss_verbose) $(MKDIR_P) $(dir $@) && $(SASSC) -a $< $@ || rm -f $@
|
$(scss_verbose) $(MKDIR_P) $(dir $@) && $(SASSC) $(SASSC_OPTS) $< $@ || rm -f $@
|
||||||
|
|
||||||
theme/HighContrast/gtk-contained-inverse.css: $(top_srcdir)/gtk/theme/HighContrast/gtk-contained-inverse.scss
|
theme/HighContrast/gtk-contained.css: $(top_srcdir)/gtk/theme/HighContrast/gtk-contained.scss $(highcontrast_theme_scss)
|
||||||
$(scss_verbose) $(MKDIR_P) $(dir $@) && $(SASSC) -a $< $@ || rm -f $@
|
$(scss_verbose) $(MKDIR_P) $(dir $@) && $(SASSC) $(SASSC_OPTS) $< $@ || rm -f $@
|
||||||
|
|
||||||
|
theme/HighContrast/gtk-contained-inverse.css: $(top_srcdir)/gtk/theme/HighContrast/gtk-contained-inverse.scss $(highcontrast_theme_scss)
|
||||||
|
$(scss_verbose) $(MKDIR_P) $(dir $@) && $(SASSC) $(SASSC_OPTS) $< $@ || rm -f $@
|
||||||
|
|
||||||
endif # REBUILD_SCSS
|
endif # REBUILD_SCSS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user