annotate Makefile @ 15:fb5fb3b38c0d

Release version 3
author Guido Berhoerster <guido+booket@berhoerster.name>
date Thu, 18 Sep 2014 20:36:21 +0200
parents a1a934adff8d
children 8445c729ba97
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
1 #
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
2 # Copyright (C) 2014 Guido Berhoerster <guido+booket@berhoerster.name>
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
3 #
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
4 # Permission is hereby granted, free of charge, to any person obtaining
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
5 # a copy of this software and associated documentation files (the
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
6 # "Software"), to deal in the Software without restriction, including
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
7 # without limitation the rights to use, copy, modify, merge, publish,
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
8 # distribute, sublicense, and/or sell copies of the Software, and to
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
9 # permit persons to whom the Software is furnished to do so, subject to
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
10 # the following conditions:
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
11 #
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
12 # The above copyright notice and this permission notice shall be included
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
13 # in all copies or substantial portions of the Software.
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
14 #
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
15 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
16 # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
17 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
18 # IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
19 # CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
20 # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
21 # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
22 #
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
23
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
24 SCOUR := scour
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
25 XMLLINT := xmllint
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
26
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
27 SVGIMAGES := missing-favicon.svg
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
28
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
29 .DEFAULT_TARGET = all
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
30
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
31 .PHONY: all clean clobber
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
32
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
33 all: $(SVGIMAGES)
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
34
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
35 %.svg: %.src.svg
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
36 $(SCOUR) --quiet -i $< --create-groups --enable-id-stripping \
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
37 --enable-comment-stripping --remove-metadata \
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
38 --no-renderer-workaround --strip-xml-prolog --enable-viewboxing \
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
39 --set-precision=5 | $(XMLLINT) --format --noblanks --output $@ -
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
40
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
41 clean:
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
42 rm -f $(SVGIMAGES)
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
43
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
44 clobber: clean