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