diff options
Diffstat (limited to 'icons/Makefile')
-rw-r--r-- | icons/Makefile | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/icons/Makefile b/icons/Makefile index 3bdba19c..3e3ea456 100644 --- a/icons/Makefile +++ b/icons/Makefile @@ -13,18 +13,21 @@ PNGS = $(patsubst %.pam,%.png,$(PAMS)) MONOPNGS = $(patsubst %.pam,%.png,$(MONOPAMS)) TRUEPNGS = $(patsubst %.pam,%.png,$(TRUEPAMS)) +SVGS = $(patsubst %,%.svg,$(ICONS)) + ICOS = putty.ico puttygen.ico pscp.ico pageant.ico pageants.ico puttycfg.ico \ - puttyins.ico + puttyins.ico pterm.ico ptermcfg.ico ICNS = PuTTY.icns Pterm.icns CICONS = xpmputty.c xpmpucfg.c xpmpterm.c xpmptcfg.c base: icos cicons -all: pngs monopngs base icns # truepngs currently disabled by default +all: pngs monopngs base icns svgs # truepngs currently disabled by default pngs: $(PNGS) monopngs: $(MONOPNGS) truepngs: $(TRUEPNGS) +svgs: $(SVGS) icos: $(ICOS) icns: $(ICNS) @@ -46,6 +49,9 @@ $(MONOPAMS): %.pam: mkicon.py $(TRUEPAMS): %.pam: mkicon.py ./mkicon.py -T $(MODE) $(join $(subst -, ,$(subst -true,,$(basename $@))),_icon) $@ +$(SVGS): %.svg: mksvg.py + ./mksvg.py $(patsubst %.svg,%_icon,$@) -o $@ + putty.ico: putty-16.png putty-32.png putty-48.png \ putty-16-mono.png putty-32-mono.png putty-48-mono.png ./icon.pl -4 $(filter-out %-mono.png, $^) -1 $(filter %-mono.png, $^) > $@ @@ -69,6 +75,14 @@ pscp.ico: pscp-16.png pscp-32.png pscp-48.png \ pscp-16-mono.png pscp-32-mono.png pscp-48-mono.png ./icon.pl -4 $(filter-out %-mono.png, $^) -1 $(filter %-mono.png, $^) > $@ +pterm.ico: pterm-16.png pterm-32.png pterm-48.png \ + pterm-16-mono.png pterm-32-mono.png pterm-48-mono.png + ./icon.pl -4 $(filter-out %-mono.png, $^) -1 $(filter %-mono.png, $^) > $@ + +ptermcfg.ico: ptermcfg-16.png ptermcfg-32.png ptermcfg-48.png \ + ptermcfg-16-mono.png ptermcfg-32-mono.png ptermcfg-48-mono.png + ./icon.pl -4 $(filter-out %-mono.png, $^) -1 $(filter %-mono.png, $^) > $@ + # Because the installer icon makes heavy use of brown when drawing # the cardboard box, it's worth having 8-bit versions of it in # addition to the 4- and 1-bit ones. |