|
1 |
| -# Copyright 2014 The HTML5 for Rust Project Developers. See the |
| 1 | +# Copyright 2014 The html5ever Project Developers. See the |
2 | 2 | # COPYRIGHT file at the top-level directory of this distribution.
|
3 | 3 | #
|
4 | 4 | # Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
@@ -69,50 +69,50 @@ $(foreach example,$(EXAMPLES),\
|
69 | 69 | $(eval $(call DEF_EXAMPLE,$(example))))
|
70 | 70 |
|
71 | 71 | # Run #[test] functions
|
72 |
| -html5-test: $(LIB_DEPS) |
| 72 | +html5ever-test: $(LIB_DEPS) |
73 | 73 | $(RUSTC_CMD) -o $@ --test $(LIB_TOP_SRC)
|
74 | 74 |
|
75 | 75 | # Run external tests loaded from JSON
|
76 |
| -html5-external-test: $(EXT_TEST_ALL_SRC) $(LIB) |
| 76 | +html5ever-external-test: $(EXT_TEST_ALL_SRC) $(LIB) |
77 | 77 | $(RUSTC_CMD) $(EXT_TEST_TOP_SRC)
|
78 | 78 |
|
79 | 79 | # Run benchmarks
|
80 |
| -html5-external-bench: $(EXT_BENCH_ALL_SRC) $(LIB) |
| 80 | +html5ever-external-bench: $(EXT_BENCH_ALL_SRC) $(LIB) |
81 | 81 | $(RUSTC_CMD) $(EXT_BENCH_TOP_SRC)
|
82 | 82 |
|
83 | 83 | .PHONY: check
|
84 | 84 | check: check-build check-internal check-external
|
85 | 85 |
|
86 | 86 | .PHONY: check-build
|
87 |
| -check-build: all html5-test html5-external-test html5-external-bench |
| 87 | +check-build: all html5ever-test html5ever-external-test html5ever-external-bench |
88 | 88 |
|
89 | 89 | .PHONY: check-internal
|
90 |
| -check-internal: html5-test |
91 |
| - ./html5-test |
| 90 | +check-internal: html5ever-test |
| 91 | + ./html5ever-test |
92 | 92 |
|
93 | 93 | .PHONY: check-external
|
94 |
| -check-external: html5-external-test |
95 |
| - HTML5_SRC_DIR=$(VPATH) ./html5-external-test |
| 94 | +check-external: html5ever-external-test |
| 95 | + HTML5EVER_SRC_DIR=$(VPATH) ./html5ever-external-test |
96 | 96 |
|
97 | 97 | METRICS ?= metrics.json
|
98 | 98 |
|
99 | 99 | .PHONY: bench
|
100 |
| -bench: html5-external-bench |
101 |
| - ./html5-external-bench --bench --save-metrics $(METRICS) |
| 100 | +bench: html5ever-external-bench |
| 101 | + ./html5ever-external-bench --bench --save-metrics $(METRICS) |
102 | 102 |
|
103 | 103 | .PHONY: clean
|
104 | 104 | clean:
|
105 | 105 | rm -f *.o *.a *.so *.dylib *.dll *.dummy *-test *-bench $(EXAMPLES)
|
106 | 106 | (cd $(VPATH)/rust-phf && make clean)
|
107 | 107 |
|
108 | 108 | .PHONY: docs
|
109 |
| -docs: doc doc/html5-macros/index.html doc/html5/index.html |
| 109 | +docs: doc doc/html5ever-macros/index.html doc/html5ever/index.html |
110 | 110 |
|
111 | 111 | doc:
|
112 | 112 | mkdir doc
|
113 | 113 |
|
114 |
| -doc/html5-macros/index.html: $(MACROS_TOP_SRC) |
| 114 | +doc/html5ever-macros/index.html: $(MACROS_TOP_SRC) |
115 | 115 | rustdoc $(RUST_DIRS) $(VPATH)/macros/lib.rs
|
116 | 116 |
|
117 |
| -doc/html5/index.html: $(LIB_DEPS) |
| 117 | +doc/html5ever/index.html: $(LIB_DEPS) |
118 | 118 | rustdoc $(RUST_DIRS) $(VPATH)/src/lib.rs
|
0 commit comments