Use an indexed array for mount definitions
This commit is contained in:
14
Makefile
14
Makefile
@@ -3,15 +3,19 @@
|
||||
# Please modify config.mk and not this
|
||||
sinclude config.mk
|
||||
|
||||
.PHONY: clean install uninstall all
|
||||
.PHONY: clean install uninstall all tools
|
||||
|
||||
build: rc
|
||||
build: rc tools
|
||||
|
||||
all: build
|
||||
|
||||
tools:
|
||||
make -C tools
|
||||
|
||||
rc: rc.in
|
||||
sed -r \
|
||||
-e 's%@ETC@%$(ETC)%' \
|
||||
-e 's%@BASH_PATH@%$(BASH_PATH)%' \
|
||||
rc.in > rc
|
||||
|
||||
chmod 750 $@
|
||||
@@ -19,6 +23,8 @@ rc: rc.in
|
||||
clean:
|
||||
rm rc
|
||||
|
||||
make -C tools clean
|
||||
|
||||
install: build
|
||||
install -dm755 $(BINDIR)
|
||||
install -dm755 $(ETCDIR)
|
||||
@@ -29,5 +35,9 @@ install: build
|
||||
|
||||
install -m755 tools/killall5 $(BINDIR)/killall5
|
||||
|
||||
make -C tools install
|
||||
|
||||
uninstall:
|
||||
rm $(BINDIR)/rc
|
||||
|
||||
make -C tools uninstall
|
||||
|
Reference in New Issue
Block a user