add truncate to Makefile, add uninstall target to Makefile

This commit is contained in:
Simone Karin Lehmann 2018-03-13 22:43:49 +01:00 committed by Simone Karin Lehmann
parent a9b0244e29
commit 0945eb2b94
1 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# Makefile to easily build all needed tools
BINS = e2fsck resize2fs tune2fs
BINS = e2fsck resize2fs tune2fs truncate
$(BINS):
./make_e2fstools
@ -14,3 +14,7 @@ install:
install -m 755 resize2fs /usr/local/bin
install -m 755 tune2fs /usr/local/bin
install -m 755 pishrink /usr/local/bin
install -m 755 truncate /usr/local/bin
uninstall:
rm -f /usr/local/bin/e2fsck /usr/local/bin/resize2fs /usr/local/bin/tune2fs /usr/local/bin/pishrink /usr/local/bin/truncate