Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 700904 | Differences between
and this patch

Collapse All | Expand All

(-)a/Makefile (-4 / +3 lines)
Lines 10-17 IMAGES := $(patsubst %.svg,%.png,$(SVGS)) Link Here
10
all: prereq validate $(HTMLS) $(IMAGES) documents.js
10
all: prereq validate $(HTMLS) $(IMAGES) documents.js
11
11
12
prereq:
12
prereq:
13
	@type convert >/dev/null 2>&1 || \
13
	@type rsvg-convert >/dev/null 2>&1 || \
14
	{ echo "media-gfx/imagemagick[corefonts,svg,truetype] required" >&2;\
14
	{ echo "gnome-base/librsvg required" >&2;\
15
          exit 1; }
15
          exit 1; }
16
	@type xsltproc >/dev/null 2>&1 || \
16
	@type xsltproc >/dev/null 2>&1 || \
17
	{ echo "dev-libs/libxslt is with python required" >&2;\
17
	{ echo "dev-libs/libxslt is with python required" >&2;\
Lines 29-35 documents.js: bin/build_search_documents.py $(XMLS) Link Here
29
	mv _documents.js documents.js
29
	mv _documents.js documents.js
30
30
31
%.png : %.svg
31
%.png : %.svg
32
	convert $< $@
32
	rsvg-convert --output=$@ $<
33
33
34
# Secondary expansion allows us to use the automatic variable $@ in
34
# Secondary expansion allows us to use the automatic variable $@ in
35
# the prerequisites. When it is used (and we have no idea when that
35
# the prerequisites. When it is used (and we have no idea when that
36
- 

Return to bug 700904