Updated make file command wording
parent
10ed181428
commit
e33ef0c2fb
12
Makefile
12
Makefile
|
@ -17,7 +17,7 @@ help:
|
|||
@echo " clean"
|
||||
@echo " Removes the $(program-name) executable from $(directory-source)/"
|
||||
@echo ""
|
||||
@echo " build"
|
||||
@echo " compile"
|
||||
@echo " Creates a $(program-name) executable in your current directory"
|
||||
@echo ""
|
||||
@echo " install-global"
|
||||
|
@ -40,7 +40,7 @@ help:
|
|||
@echo "Examples:"
|
||||
@echo " make help"
|
||||
@echo " make clean"
|
||||
@echo " make build"
|
||||
@echo " make compile"
|
||||
@echo " sudo make install-global"
|
||||
@echo " sudo make uninstall-global"
|
||||
@echo " make install-local"
|
||||
|
@ -73,13 +73,13 @@ uninstall-global:
|
|||
|
||||
# Installation -----------------------------------------------------------
|
||||
.PHONY: install-custom
|
||||
install-custom: build
|
||||
install-custom: compile
|
||||
@echo "Moving ./$(program-name) to $(location) ..."
|
||||
@mv ./$(program-name) $(location)
|
||||
@echo "Installation complete!"
|
||||
|
||||
.PHONY: install-local
|
||||
install-local: build
|
||||
install-local: compile
|
||||
@echo "Making $(directory-local) if it doesn't already exist ..."
|
||||
@mkdir -p $(directory-local)
|
||||
@echo "Moving ./$(program-name) to $(directory-local)/$(program-name) ..."
|
||||
|
@ -87,12 +87,12 @@ install-local: build
|
|||
@echo "Installation complete!"
|
||||
|
||||
.PHONY: install-global
|
||||
install-global: build
|
||||
install-global: compile
|
||||
@echo "Moving ./$(program-name) to $(directory-global)/$(program-name) ..."
|
||||
@mv ./$(program-name) $(directory-global)/$(progam-name)
|
||||
@echo "Installation complete!"
|
||||
|
||||
build:
|
||||
compile:
|
||||
@echo "Creating a $(directory-source)/$(program-name) executable from $(directory-source)/$(program-source) ..."
|
||||
@raco exe $(directory-source)/$(program-source)
|
||||
@echo "Moving $(directory-source)/$(program-name) executable to your current folder ..."
|
||||
|
|
|
@ -147,7 +147,7 @@ This section assumes you have [downloaded rodo](#downloading-rodo).
|
|||
### Installing rodo to a custom directory
|
||||
|
||||
If you wish to have rodo exist elsewhere on your system, you can also
|
||||
build a single-file executable. Building a single-file executable
|
||||
compile a single-file executable. Compiling a single-file executable
|
||||
allows you to place the executable in convenient places on your
|
||||
system, such as a directory on your `$PATH`.
|
||||
|
||||
|
|
Loading…
Reference in New Issue