CSS: Add file with only fonts
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 13 Nov 2018 21:45:35 +0000 (21:45 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 13 Nov 2018 21:45:35 +0000 (21:45 +0000)
Is included from Bugzilla

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
.gitignore
Makefile.am
src/scss/listing.scss
src/scss/style.scss

index 389a745..53e6448 100644 (file)
@@ -4,6 +4,7 @@
 /build-aux
 /configure
 /config.*
+/src/scss/fonts.css
 /src/scss/listing.css
 /src/scss/main.css
 /src/scripts/ipfire.org
index a7d2157..6fe92dd 100644 (file)
@@ -288,10 +288,12 @@ CLEANFILES += \
 static_DATA = \
        src/static/favicon.ico \
        src/static/robots.txt \
+       src/scss/fonts.css \
        src/scss/listing.css \
        src/scss/main.css
 
 CLEANFILES += \
+       src/scss/fonts.css \
        src/scss/listing.css \
        src/scss/main.css
 
@@ -950,6 +952,10 @@ SED_PROCESS = \
 %: %.in Makefile
        $(SED_PROCESS)
 
+%.css: _%.scss Makefile
+       $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
+               $(SASSC) --style compressed $< > $@
+
 %.css: %.scss Makefile
        $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
                $(SASSC) --style compressed $< > $@
index 3a9464f..c40a5b5 100644 (file)
@@ -11,7 +11,7 @@
 @import "../bootstrap/scss/tables";
 
 // Include fonts
-@import "fonts";
+@import "_fonts.scss";
 
 body {
     padding: $spacer * 2;
index e6522a0..04e05d7 100644 (file)
@@ -34,7 +34,7 @@
 @import "../bootstrap/scss/print";
 
 // Include fonts
-@import "fonts";
+@import "_fonts.scss";
 
 // Custom stuff
 @import "icons";