add Makefile to build e2fs tools and install everything in /usr/local/bin
This commit is contained in:
parent
35e91edc75
commit
39de57246b
|
@ -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
|
Loading…
Reference in New Issue