diff options
author | epoch <epoch@hacking.allowed.org> | 2020-04-03 00:50:32 -0500 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2020-04-03 00:50:32 -0500 |
commit | e79da077df27d5c14cb4734f0ce6e1572ebbf61c (patch) | |
tree | 2841e11c4c44e2fb77de7eaf314659b22a0ae1bd | |
parent | d5ffa6fbcbdfbe8abf3b3b542f86b8f96d23eaed (diff) | |
download | hackvr-e79da077df27d5c14cb4734f0ce6e1572ebbf61c.tar.gz hackvr-e79da077df27d5c14cb4734f0ce6e1572ebbf61c.zip |
changed some cp -r into install, uninstall now removes the "desktop" file for hackvr. removed hackvr_term targets and deps
-rw-r--r-- | Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -1,8 +1,8 @@ PREFIX:=/usr/local -all: hackvr hackvr_term +all: hackvr -.PHONY: hackvr hackvr_term clean install uninstall all +.PHONY: hackvr clean install uninstall all hackvr: $(MAKE) -C src all @@ -10,12 +10,14 @@ hackvr: clean: $(MAKE) -C src clean -install: hackvr hackvr_term +install: hackvr $(MAKE) -C src install - cp -r bin/ $(PREFIX)/ - cp -r share/hackvr/ $(PREFIX)/share/ + install -t $(PREFIX)/bin bin/* + install -t $(PREFIX)/share/applications share/applications/* + cp -r share/hackvr $(PREFIX)/share/hackvr uninstall: ## we'll assume PREFIX is set to the hackvr we want to uninstall $(MAKE) -C src uninstall + rm -f $(PREFIX)/share/applications/hackvr rm -rf $(PREFIX)/share/hackvr |