summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2021-08-28 20:59:00 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2021-08-28 20:59:00 +0200
commit28e77dd8f293afb067b6252cd3472c16bb92dcec (patch)
tree5e49f69ae2e878ffb2f8b090ded102d4e5d57bcc /Makefile
parentupdated changelog and bumped to 0.0.13-1 (diff)
downloadsear.c-28e77dd8f293afb067b6252cd3472c16bb92dcec.tar
sear.c-28e77dd8f293afb067b6252cd3472c16bb92dcec.tar.gz
sear.c-28e77dd8f293afb067b6252cd3472c16bb92dcec.tar.bz2
sear.c-28e77dd8f293afb067b6252cd3472c16bb92dcec.tar.lz
sear.c-28e77dd8f293afb067b6252cd3472c16bb92dcec.tar.xz
sear.c-28e77dd8f293afb067b6252cd3472c16bb92dcec.tar.zst
sear.c-28e77dd8f293afb067b6252cd3472c16bb92dcec.zip
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9bebc19..bd7c26b 100644
--- a/Makefile
+++ b/Makefile
@@ -3,9 +3,8 @@ DESTDIR=/
.NOTPARALLEL:
default:
mkdir tmp -p
- 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')));"
+ php src/hp.php > tmp/hp.html
xxd -i < tmp/hp.html > tmp/hp.xxd
echo ', 0' >> tmp/hp.xxd
xxd -i < src/osdd.xml > tmp/osdd.xxd