"Fossies" - the Fresh Open Source Software Archive

Member "buildbot-2.3.1/docs/manual/_images/Makefile" (23 May 2019, 1253 Bytes) of package /linux/misc/buildbot-2.3.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 
    2 SOURCES = overview_src.svg changes_src.svg workers_src.svg master_src.svg status_src.svg
    3 SVGS = $(patsubst %_src.svg,%.svg,$(SOURCES))
    4 PNGS = $(patsubst %_src.svg,%.png,$(SOURCES))
    5 EPSS = $(patsubst %_src.svg,%.eps,$(SOURCES))
    6 
    7 .PHONY: images-svg images-png images-eps
    8 all: $(SVGS) $(PNGS) $(EPSS)
    9 images-svg: $(SVGS)
   10 images-png: $(PNGS)
   11 images-eps: $(EPSS)
   12 
   13 # Source SVG files contains text labels in "PT Sans" font which may not be
   14 # installed on end user machine (originally text was in proprietary
   15 # "Myriad Pro" font, "PT Sans" was chosen to replace it due to its visual
   16 # similarity).
   17 # Render these text labels into paths.
   18 # "PT Sans" font can be downloaded from developer official site:
   19 # <http://www.paratype.com/public/> or from Google Fonts collection.
   20 %.svg: %_src.svg
   21 	cp $< _tmp.svg
   22 	# Render text as path.
   23 	inkscape _tmp.svg --verb EditSelectAll --verb=ObjectToPath --verb FileSave --verb FileQuit
   24 	# Cleanup SVG to reduce its size.
   25 	scour --enable-comment-stripping --remove-metadata -i _tmp.svg -o $@
   26 	rm -f _tmp.svg
   27 %.png: %.svg
   28 	inkscape -b white --export-png $@ $<
   29 	mogrify -trim +repage $@
   30 %.eps: %.svg
   31 	inkscape --export-eps $@ $<
   32 	mogrify -trim +repage $@
   33 clean:
   34 	rm -f *.png *.eps overview.svg workers.svg master.svg status.svg