Compare commits

...

2 Commits

Author SHA1 Message Date
81981792b5 Potentially repair some damage 2025-04-17 23:21:52 +02:00
205c1771d3 add packing 2025-04-17 23:13:20 +02:00
2 changed files with 10 additions and 5 deletions

View File

@@ -4,13 +4,16 @@ SHARED_FILES := stallman.webp stallman_2024.webp favicon.ico \
word_cloud_cz.png word_cloud_en.png background.jpg \ word_cloud_cz.png word_cloud_en.png background.jpg \
moon.svg sun.svg narrow_light.svg narrow_dark.svg wide_light.svg wide_dark.svg lang_cz.svg lang_en.svg \ moon.svg sun.svg narrow_light.svg narrow_dark.svg wide_light.svg wide_dark.svg lang_cz.svg lang_en.svg \
styles.css icons.css \ styles.css icons.css \
countdown.js theme.js lang.js \ countdown.js theme.js lang.js
jetbrains_mono.woff2 STATIC_ASSETS := jetbrains_mono.woff2
SEARCH_REPLACE := lib/search_and_replace/target/release/search_and_replace SEARCH_REPLACE := lib/search_and_replace/target/release/search_and_replace
COMPONENTS := head.html header.html nav.html footer.html COMPONENTS := head.html header.html nav.html footer.html
.PHONY: build .PHONY: build
build: $(PAGES:%=dst/cz/%) $(PAGES:%=dst/en/%) $(SHARED_FILES:%=dst/%) build: $(PAGES:%=dst/cz/%) $(PAGES:%=dst/en/%) $(SHARED_FILES:%=dst/%) $(STATIC_ASSETS:%=dst/%)
.PHONY: pack
pack: dst/libre_liberec.tar.gz
.PHONY: clean .PHONY: clean
clean: clean:
@@ -80,3 +83,6 @@ dst/favicon.ico: images/favicon.ico
dst/%.woff2: fonts/%.woff2 dst/%.woff2: fonts/%.woff2
@mkdir -p $(@D) @mkdir -p $(@D)
ln -f $< $@ ln -f $< $@
dst/libre_liberec.tar.gz: $(PAGES:%=dst/cz/%) $(PAGES:%=dst/en/%) $(SHARED_FILES:%=dst/%)
tar --transform='s,^dst/,libre_liberec/,' -czvf $@ $? --owner=0 --group=0

View File

@@ -252,10 +252,9 @@ footer {
width: fit-content; width: fit-content;
margin: 2em auto; margin: 2em auto;
margin-top: 4em; margin-top: 4em;
font-size: .8em; font-size: .9em;
word-spacing: 0em; word-spacing: 0em;
line-height: 1em; line-height: 1em;
letter-spacing: 0em;
} }
footer>* { footer>* {