diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -8,18 +8,21 @@ FILES=hesla.js hesla.js.map config.js config.js.map \ all: index.html index_de.html config.js activePage.js hesla.js -index.html: generate_html_cs.py hes23-01.xml templates/czech.html templates/base.html - ./generate_html_cs.py hes23-01.xml >$@ +index.html: generate_html_cs.py hes24-01.xml templates/czech.html templates/base.html + ./generate_html_cs.py hes24-01.xml >$@ -index_de.html: generate_html_de.py hernnhut/2023/Losungen\ Free\ 2023.xml templates/german.html templates/base.html - ./generate_html_de.py hernnhut/2023/Losungen\ Free\ 2023.xml >$@ +index_de.html: generate_html_de.py hernnhut/2024/Losungen\ Free\ 2024.xml templates/german.html templates/base.html + ./generate_html_de.py hernnhut/2024/Losungen\ Free\ 2024.xml >$@ + +test: all + python3 -munittest -v test_generate_html hesla-chrome.zip: zip -9vT $@ google9815148f4ac1407f.html \ hesla.js favicon*.png a*.png \ index_de.html index.html manifest.json screen.css -install: $(FILES) +install: $(FILES) test rsync -avLz --delete $(FILES) \ ~/archiv/website/hubmaier/hesla.ceplovi.cz/ websync |