From 39de57246bfe283e1348d31d2cff58e042275ab6 Mon Sep 17 00:00:00 2001 From: Simone Karin Lehmann Date: Tue, 13 Mar 2018 22:04:54 +0100 Subject: [PATCH] add Makefile to build e2fs tools and install everything in /usr/local/bin --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ac3be3d --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +# Makefile to easily build all needed tools + +BINS = e2fsck resize2fs tune2fs + +$(BINS): + ./make_e2fstools + +clean: + rm -f $(BINS) + +install: + install -d /usr/local/bin + install -m 755 e2fsck /usr/local/bin + install -m 755 resize2fs /usr/local/bin + install -m 755 tune2fs /usr/local/bin + install -m 755 pishrink /usr/local/bin