From 00aef34d62cec1d1e94dbbe29fc77dd2f8b6a3c3 Mon Sep 17 00:00:00 2001 From: Ruud van Asseldonk Date: Wed, 19 Nov 2014 17:39:27 +0100 Subject: [PATCH] Remove redundant build files I think these were leftovers from before Cargo. `cargo build` works instead of `make`, `cargo test` instead of `make check` and `cargo doc` instead of `make doc`. --- .gitignore | 2 +- Makefile.in | 33 --------------------------------- configure | 4 ---- 3 files changed, 1 insertion(+), 38 deletions(-) delete mode 100644 Makefile.in delete mode 100755 configure diff --git a/.gitignore b/.gitignore index a329785..80faede 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ +Cargo.lock /target/ -/doc diff --git a/Makefile.in b/Makefile.in deleted file mode 100644 index 715340d..0000000 --- a/Makefile.in +++ /dev/null @@ -1,33 +0,0 @@ -VPATH=%VPATH% - -RUSTC ?= rustc -RUSTFLAGS ?= -RUSTDOC ?= rustdoc -RUSTDOC_FLAGS ?= -RUSTDOC_TARGET ?= doc - -RUST_SRC=$(shell find $(VPATH)/src -type f -name '*.rs') - -.PHONY: all -all: libgeom.dummy - -libgeom.dummy: src/lib.rs $(RUST_SRC) - $(RUSTC) $(RUSTFLAGS) $< --out-dir . - touch $@ - -geom-test: src/lib.rs $(RUST_SRC) - $(RUSTC) $(RUSTFLAGS) $< -o $@ --test - -.PHONY: doc -doc: $(RUSTDOC_TARGET)/geom/index.html - -$(RUSTDOC_TARGET)/geom/index.html: src/lib.rs $(RUST_SRC) - $(RUSTDOC) $(RUSTDOC_FLAGS) $< -o $(RUSTDOC_TARGET) - -.PHONY: check -check: geom-test - ./geom-test $(TEST) - -.PHONY: clean -clean: - rm -f *.o *.a *.so *.dylib *.rlib *.dll *.dummy *-test diff --git a/configure b/configure deleted file mode 100755 index 62a0f4c..0000000 --- a/configure +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -SRCDIR="$(cd $(dirname $0) && pwd)" -sed "s#%VPATH%#${SRCDIR}#" ${SRCDIR}/Makefile.in > Makefile