01
2022-08-26
op
MDIR = ${HOME}/Mail/gameoftrees
02
2022-08-26
op
OUTDIR = /var/www/marc
04
2022-08-29
op
.PHONY: all assets images dirs gzip clean scaleimgs
06
2022-08-25
op
all: assets
07
2022-08-26
op
@env MDIR="${MDIR}" OUTDIR="${OUTDIR}" ./gotmarc
09
2022-08-25
op
assets: dirs images ${OUTDIR}/style.css
11
2022-08-25
op
images: ${OUTDIR}/got@2x.png ${OUTDIR}/got.png ${OUTDIR}/got-tiny@2x.png \
12
2022-08-25
op
${OUTDIR}/got-tiny.png
14
2022-08-29
op
${OUTDIR}/got@2x.png: images/got.orig.png
16
2022-08-29
op
${OUTDIR}/got.png: images/got.png
18
2022-08-29
op
${OUTDIR}/got-tiny@2x.png: images/got-tiny@2x.png
20
2022-08-29
op
${OUTDIR}/got-tiny.png: images/got-tiny.png
22
2022-08-25
op
${OUTDIR}/style.css: style.css
26
2022-08-26
op
@mkdir -p ${OUTDIR}/mail/
27
2022-08-26
op
@mkdir -p ${OUTDIR}/parts/
28
2022-08-26
op
@mkdir -p ${OUTDIR}/text/
29
2022-08-26
op
@mkdir -p ${OUTDIR}/thread/
32
2022-08-26
op
gzip -fkr ${OUTDIR}
35
2022-08-24
op
rm -rf ${OUTDIR}
37
2022-08-29
op
# -- maintainer targets --
40
2022-08-29
op
convert images/got.orig.png -resize 200x200 images/got.png
41
2022-08-29
op
convert images/got.orig.png -resize 128x128 images/got-tiny@2x.png
42
2022-08-29
op
convert images/got.orig.png -resize 64x64 images/got-tiny.png
43
2022-08-29
op
optipng -o7 -zm1-9 images/*.png