annotate Makefile @ 19:4a4d9527c06f

Add merge options Allow to merge loaded or imported bookmarks with the existing ones
author Guido Berhoerster <guido+booket@berhoerster.name>
date Thu, 02 Oct 2014 09:08:22 +0200
parents 8445c729ba97
children 58f3589982ea
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
17
8445c729ba97 Add logo and favicon
Guido Berhoerster <guido+booket@berhoerster.name>
parents: 7
diff changeset
24 RSVG_CONVERT := rsvg-convert
7
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
25 SCOUR := scour
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
26 XMLLINT := xmllint
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
27
17
8445c729ba97 Add logo and favicon
Guido Berhoerster <guido+booket@berhoerster.name>
parents: 7
diff changeset
28 SVGIMAGES := missing-favicon.svg booket-logo.svg
8445c729ba97 Add logo and favicon
Guido Berhoerster <guido+booket@berhoerster.name>
parents: 7
diff changeset
29 PNGIMAGES := booket-favicon.png
7
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 .DEFAULT_TARGET = all
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 .PHONY: all clean clobber
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
34
17
8445c729ba97 Add logo and favicon
Guido Berhoerster <guido+booket@berhoerster.name>
parents: 7
diff changeset
35 all: $(SVGIMAGES) $(PNGIMAGES)
7
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
36
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
37 %.svg: %.src.svg
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
38 $(SCOUR) --quiet -i $< --create-groups --enable-id-stripping \
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
39 --enable-comment-stripping --remove-metadata \
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
40 --no-renderer-workaround --strip-xml-prolog --enable-viewboxing \
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
41 --set-precision=5 | $(XMLLINT) --format --noblanks --output $@ -
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
42
17
8445c729ba97 Add logo and favicon
Guido Berhoerster <guido+booket@berhoerster.name>
parents: 7
diff changeset
43 %.png: %.src.svg
8445c729ba97 Add logo and favicon
Guido Berhoerster <guido+booket@berhoerster.name>
parents: 7
diff changeset
44 $(RSVG_CONVERT) -o $@ $<
8445c729ba97 Add logo and favicon
Guido Berhoerster <guido+booket@berhoerster.name>
parents: 7
diff changeset
45
7
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
46 clean:
17
8445c729ba97 Add logo and favicon
Guido Berhoerster <guido+booket@berhoerster.name>
parents: 7
diff changeset
47 rm -f $(SVGIMAGES) $(PNGIMAGES)
7
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
48
a1a934adff8d Add support for favicons
Guido Berhoerster <guido+booket@berhoerster.name>
parents:
diff changeset
49 clobber: clean