diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2021-08-22 03:18:03 +0200 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2021-08-22 03:18:03 +0200 |
commit | 387fb72ee084aca883b35d37d177958715bffab0 (patch) | |
tree | a203233340481b87dc9690bf8bb3cebea1cbb9c7 /Makefile | |
parent | added i386 (diff) | |
download | sear.c-387fb72ee084aca883b35d37d177958715bffab0.tar sear.c-387fb72ee084aca883b35d37d177958715bffab0.tar.gz sear.c-387fb72ee084aca883b35d37d177958715bffab0.tar.bz2 sear.c-387fb72ee084aca883b35d37d177958715bffab0.tar.lz sear.c-387fb72ee084aca883b35d37d177958715bffab0.tar.xz sear.c-387fb72ee084aca883b35d37d177958715bffab0.tar.zst sear.c-387fb72ee084aca883b35d37d177958715bffab0.zip |
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,8 +1,12 @@ DESTDIR=/ +.NOTPARALLEL: default: mkdir tmp -p - xxd -i < src/hp.html > tmp/hp.xxd + cp src/hp.html tmp/hp.html + -[ ! -f tmp/hp.css ] && wget -c https://sijanec.eu/assets/css/styles.css?ref=sear.c-make -Otmp/hp.css + php -r "file_put_contents('tmp/hp.html', str_replace('INSERT-STYLESHEET-HERE', str_replace('%', '%%', file_get_contents('tmp/hp.css')), file_get_contents('tmp/hp.html')));" + xxd -i < tmp/hp.html > tmp/hp.xxd echo ', 0' >> tmp/hp.xxd xxd -i < src/osdd.xml > tmp/osdd.xxd echo ', 0' >> tmp/osdd.xxd |