diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-03-28 02:25:50 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-03-28 02:38:30 +0200 |
commit | c4dd51f18b4c1f34cda6e45cf530354373a0b750 (patch) | |
tree | 98cb2df03af105bf35d55240935732828e498f9b /testing/ameba/fix-makefile.patch | |
parent | ec1d62b2f096af4ba6ecc5d351305ca64d7fd64c (diff) | |
download | aports-c4dd51f18b4c1f34cda6e45cf530354373a0b750.tar.bz2 aports-c4dd51f18b4c1f34cda6e45cf530354373a0b750.tar.xz |
testing/ameba: new aport
https://github.com/veelenga/ameba
Diffstat (limited to 'testing/ameba/fix-makefile.patch')
-rw-r--r-- | testing/ameba/fix-makefile.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/ameba/fix-makefile.patch b/testing/ameba/fix-makefile.patch new file mode 100644 index 0000000000..a2ed851d74 --- /dev/null +++ b/testing/ameba/fix-makefile.patch @@ -0,0 +1,27 @@ +--- a/Makefile ++++ b/Makefile +@@ -2,16 +2,19 @@ + PREFIX ?= /usr/local + SHARD_BIN ?= ../../bin + +-build: ++.PHONY: build ++build: bin/ameba ++ ++bin/ameba: + $(CRYSTAL_BIN) build --no-debug -o bin/ameba src/cli.cr $(CRFLAGS) + clean: + rm -f ./bin/ameba +-install: build ++install: bin/ameba + mkdir -p $(PREFIX)/bin + cp ./bin/ameba $(PREFIX)/bin +-bin: build ++bin: bin/ameba + mkdir -p $(SHARD_BIN) + cp ./bin/ameba $(SHARD_BIN) +-test: build +- $(CRYSTAL_BIN) spec ++test: bin/ameba ++ $(CRYSTAL_BIN) spec $(SPEC_FLAGS) + ./bin/ameba |