From 03be1965eec9c74f8f9b0959a1b0a89fe3be5b71 Mon Sep 17 00:00:00 2001 From: ghassmo Date: Fri, 29 Apr 2022 15:19:33 +0300 Subject: [PATCH] tau: remove Makefile --- bin/tau/Makefile | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 bin/tau/Makefile diff --git a/bin/tau/Makefile b/bin/tau/Makefile deleted file mode 100644 index 161660eb4..000000000 --- a/bin/tau/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -.POSIX: - -# Install prefix -PREFIX = ~/.local - -# Cargo binary -CARGO = cargo - -BINS = taud tau-cli - -BINSDIR = ./bin - -BINDEPS = \ - $(shell find ./taud/src -type f) \ - $(shell find ./tau-cli/src -type f) \ - $(shell find . -type f -name taud_config.toml) - -all: $(BINS) - -$(BINS): $(BINDEPS) - mkdir -p $(BINSDIR) - $(CARGO) build --all-features --release --package $@ - cp -f ../../target/release/$@ $(BINSDIR)/$@ - -clean: - rm -f $(BINSDIR)/* - -install: all - mkdir -p $(DESTDIR)$(PREFIX)/bin - cp -f $(BINSDIR)/taud $(DESTDIR)$(PREFIX)/bin - cp -f $(BINSDIR)/tau-cli $(DESTDIR)$(PREFIX)/bin/tau - -uninstall: - rm -f $(DESTDIR)$(PREFIX)/bin/tau - rm -f $(DESTDIR)$(PREFIX)/bin/taud - -.PHONY: all clean install uninstall