Skip to content

Commit c121b24

Browse files
committed
Fix trailing slashes in the Servo makefile.
This fixes a build issue where GNU Make 4.0 would stop with: No rule to make target '…/rust-http/src/http/generated/read_method.rs', needed by 'libhttp.dummy'. Stop. Apparently other people did not have this issue, it probably only affects some Make versions.
1 parent 27da508 commit c121b24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile.servo.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ codegen: $(wildcard $(VPATH)/src/codegen/*.rs)
1818
$(VPATH)/src/http/generated:
1919
mkdir -p $(VPATH)/src/http/generated
2020

21-
$(VPATH)/src/http/generated/%.rs: codegen $(VPATH)/src/http/generated/
21+
$(VPATH)/src/http/generated/%.rs: codegen $(VPATH)/src/http/generated
2222
./codegen $(patsubst $(VPATH)/src/http/generated/%,%,$@) $(VPATH)/src/http/generated/
2323

2424
libhttp.dummy: $(libhttp_files)
@@ -42,7 +42,7 @@ clean-tests:
4242
rm -f tests
4343

4444
clean: clean-tests
45-
rm -rf $(VPATH)src/http/generated/ codegen
45+
rm -rf $(VPATH)/src/http/generated/ codegen
4646
rm -rf libhttp.dummy
4747
rm -f *.so *.dylib *.dll
4848

0 commit comments

Comments
 (0)