updated makefile
parent
d9030cfd15
commit
a60dcdb7ca
7
Makefile
7
Makefile
|
@ -63,27 +63,34 @@ uninstall:
|
||||||
uninstall-local:
|
uninstall-local:
|
||||||
@echo "Uninstalling $(program-name) from $(directory-local) ..."
|
@echo "Uninstalling $(program-name) from $(directory-local) ..."
|
||||||
@rm $(directory-local)/$(program-name)
|
@rm $(directory-local)/$(program-name)
|
||||||
|
@echo "Uninstallation complete!"
|
||||||
|
|
||||||
.PHONY: uninstall-global
|
.PHONY: uninstall-global
|
||||||
uninstall-global:
|
uninstall-global:
|
||||||
@echo "Uninstalling $(program-name) from $(directory-global) ..."
|
@echo "Uninstalling $(program-name) from $(directory-global) ..."
|
||||||
@rm $(directory-global)/$(program-name)
|
@rm $(directory-global)/$(program-name)
|
||||||
|
@echo "Uninstallation complete!"
|
||||||
|
|
||||||
# Installation -----------------------------------------------------------
|
# Installation -----------------------------------------------------------
|
||||||
.PHONY: install-custom
|
.PHONY: install-custom
|
||||||
install-custom: build
|
install-custom: build
|
||||||
@echo "Moving ./$(program-name) to $(location) ..."
|
@echo "Moving ./$(program-name) to $(location) ..."
|
||||||
@mv ./$(program-name) $(location)
|
@mv ./$(program-name) $(location)
|
||||||
|
@echo "Installation complete!"
|
||||||
|
|
||||||
.PHONY: install-local
|
.PHONY: install-local
|
||||||
install-local: build
|
install-local: build
|
||||||
|
@echo "Making $(directory-local) if it doesn't already exist ..."
|
||||||
|
@mkdir -p $(directory-local)
|
||||||
@echo "Moving ./$(program-name) to $(directory-local)/$(program-name) ..."
|
@echo "Moving ./$(program-name) to $(directory-local)/$(program-name) ..."
|
||||||
@mv ./$(program-name) $(directory-local)/$(progam-name)
|
@mv ./$(program-name) $(directory-local)/$(progam-name)
|
||||||
|
@echo "Installation complete!"
|
||||||
|
|
||||||
.PHONY: install-global
|
.PHONY: install-global
|
||||||
install-global: build
|
install-global: build
|
||||||
@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!"
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
|
|
Loading…
Reference in New Issue