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 32-38 documents.js: bin/build_search_documents.py $(XMLS) Link Here
32
	mv _documents.js documents.js
32
	mv _documents.js documents.js
33
33
34
%.png : %.svg
34
%.png : %.svg
35
	convert $< $@
35
	rsvg-convert --output=$@ $<
36
36
37
# Secondary expansion allows us to use the automatic variable $@ in
37
# Secondary expansion allows us to use the automatic variable $@ in
38
# the prerequisites. When it is used (and we have no idea when that
38
# the prerequisites. When it is used (and we have no idea when that
39
- 

Return to bug 700904