Skip to content

Commit 34fe028

Browse files
committed
Get rid of ancient Makefile.
1 parent 9617bc5 commit 34fe028

File tree

1 file changed

+5
-42
lines changed

1 file changed

+5
-42
lines changed

Makefile

+5-42
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,13 @@
1-
RUST_CFG ?=
2-
RUST_PATH ?= ./build/
3-
RUSTC ?= rustc
4-
5-
LIB = build/.timestamp_quickcheck
6-
MACRO_LIB = build/.timestamp_quickcheck_macro
7-
8-
DIR=src
9-
MACRO_DIR=quickcheck_macros/src
10-
11-
compile: $(LIB) $(MACRO_LIB)
12-
13-
$(LIB): $(DIR)/lib.rs $(DIR)/arbitrary.rs
14-
@mkdir -p ./build
15-
$(RUSTC) -O $(DIR)/lib.rs --out-dir build
16-
@touch $(LIB)
17-
18-
$(MACRO_LIB): $(MACRO_DIR)/lib.rs
19-
@mkdir -p ./build
20-
$(RUSTC) -O $(MACRO_DIR)/lib.rs --out-dir build
21-
@touch $(MACRO_LIB)
1+
all:
2+
echo Nothing to do...
223

234
ctags:
245
ctags --recurse --options=ctags.rust --languages=Rust
256

267
docs:
27-
rm -rf doc
28-
rustdoc $(DIR)/lib.rs
29-
# WTF is rustdoc doing?
30-
chmod 755 doc
31-
in-dir doc fix-perms
32-
rscp ./doc/* gopher:~/www/burntsushi.net/rustdoc/
33-
34-
test: build/test
35-
RUST_TEST_TASKS=1 RUST_LOG=quickcheck=4 ./build/test
36-
37-
build/test: build $(DIR)/lib.rs $(DIR)/arbitrary.rs $(MACRO_DIR)/lib.rs $(LIB) $(MACRO_LIB)
38-
$(RUSTC) -L $(RUST_PATH) --test $(RUST_CFG) $(DIR)/lib.rs -o build/test
39-
40-
test-examples:
41-
(cd ./examples && ./test)
42-
43-
test-clean:
44-
rm -rf ./quickcheck-test
45-
46-
clean: test-clean
47-
rm -f ./build/* $(LIB) $(MACRO_LIB)
8+
cargo doc
9+
in-dir ./target/doc fix-perms
10+
rscp ./target/doc/* gopher:~/www/burntsushi.net/rustdoc/
4811

4912
push:
5013
git push origin master

0 commit comments

Comments
 (0)