blob: 004ebc5b9ff7a9a9a5c94f0399d9b1f940d46e06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Where are we?
topdir := $(dir $(lastword $(MAKEFILE_LIST)))
web-cache = $(topdir)/web-cache
www = $(web-cache)/www
artwork = $(web-cache)/artwork
branding = $(artwork)/official-2013/optimized-text
targets = web/html/images/feed-icon-14x14.png
all: $(targets)
clean:
rm -f -- $(targets)
.PHONY: all clean
$(www)/http/%:
mkdir -p '$(@D)'
wget 'http://$*' -O '$@'
touch '$@'
$(www)/https/%:
mkdir -p '$(@D)'
wget 'https://$*' -O '$@'
touch '$@'
web/html/images/feed-icon-14x14.png: $(www)/http/www.feedicons.com/images/feed-icon-14x14.png
ln -srf $< $@
.DELETE_ON_ERROR:
.SECONDARY:
|