Skip to content

Commit d9d4f7d

Browse files
committed
Merge pull request #1 from SimonSapin/fix-servo-build
Fix servo/servo#670: build with different source and target dirs
2 parents 6e41a0d + fa1e344 commit d9d4f7d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile.in

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ AR ?= ar
77
RUSTC ?= rustc
88
RUSTFLAGS ?=
99

10-
GENERATED_RUST_SRC=color_data.rs
11-
RUST_SRC=$(shell find $(VPATH)/. -type f -name '*.rs') $(GENERATED_RUST_SRC)
10+
COLOR_DATA_RS=$(VPATH)/color_data.rs
11+
RUST_SRC=$(shell find $(VPATH)/. -type f -name '*.rs') $(COLOR_DATA_RS)
1212

1313
.PHONY: all
1414
all: libcssparser.dummy
@@ -33,5 +33,5 @@ clean:
3333
rm -f *.o *.a *.so *.dylib *.dll *.dummy *-test
3434

3535

36-
color_data.rs: make_color_data.py
36+
$(COLOR_DATA_RS): make_color_data.py
3737
python $< > $@

0 commit comments

Comments
 (0)