X-Git-Url: http://git.ipfire.org/?p=ipfire-logos.git;a=blobdiff_plain;f=icons%2FMakefile;fp=icons%2FMakefile;h=62e4525218a3a2e2c3bf978d06c29344768c2b0f;hp=76ec5ffcf51bf4ba5df17de6aa661cf0c522e42d;hb=f67e8fee19d5ccc784971f1186bcae25a91937d7;hpb=00bb11d77bdd1bd519c6e9328758865f0bbf2383 diff --git a/icons/Makefile b/icons/Makefile index 76ec5ff..62e4525 100644 --- a/icons/Makefile +++ b/icons/Makefile @@ -12,23 +12,20 @@ RESOLUTIONS = 16x16 32x32 48x48 64x64 96x96 128x128 256x256 512x512 ICONS = $(foreach res,$(RESOLUTIONS),$(ICON_NAME)-$(res).png) ICON_KERNEL = kernel-logo.ppm -ICON_EPS = ../objects/ipfire-icon.eps -ICON_PNM = $(patsubst %.eps,%.pnm,$(ICON_EPS)) -ICON_SVG = $(patsubst %.eps,%.svg,$(ICON_EPS)) +ICON_SVG = ../objects/ipfire-icon.svg +ICON_PNM = $(patsubst %.svg,%.pnm,$(ICON_SVG)) all: $(ICON_KERNEL) $(ICON_SVG) $(ICONS) -$(ICON_SVG): $(ICON_EPS) - convert $< $@ - # Create a PNG icon file for each resolution. -$(ICONS): $(ICON_EPS) +$(ICONS): $(ICON_SVG) convert -resize $(patsubst $(ICON_NAME)-%.png,%,$@) \ - -transparent white \ + -background none \ $< $@ -$(ICON_PNM): $(ICON_EPS) +$(ICON_PNM): $(ICON_SVG) convert \ + -background black \ -resize 80x80 \ -compress none \ $< $@ @@ -66,4 +63,4 @@ install: $(ICON_KERNEL) $(ICONS) cp -vfl $(ICON_KERNEL) $(DESTDIR)$(PREFIX)/share/pixmaps/kernel-logo.ppm clean: - rm -vf $(ICONS) $(ICON_KERNEL) $(ICON_PNM) $(ICON_SVG) + rm -vf $(ICONS) $(ICON_KERNEL) $(ICON_PNM)