diff options
| author | Jakob Unterwurzacher | 2021-08-13 10:41:48 +0200 | 
|---|---|---|
| committer | Jakob Unterwurzacher | 2021-08-13 10:41:48 +0200 | 
| commit | dd24fed5328c20ddd23ed345a36a38ebeeef8438 (patch) | |
| tree | a375c89c14efb1f837fd027b0c519b987e32ae43 | |
| parent | 9a8dfd98ef4038d743c88aa8de397a58a6b64dff (diff) | |
Makefile: add uninstall target
| -rw-r--r-- | Makefile | 9 | 
1 files changed, 9 insertions, 0 deletions
| @@ -16,6 +16,7 @@ root_test:  format:  	go fmt ./... +# Keep in sync with uninstall!  .phony: install  install:  	install -Dm755 -t "$(DESTDIR)/usr/bin/" gocryptfs @@ -24,6 +25,14 @@ install:  	install -Dm644 -t "$(DESTDIR)/usr/share/man/man1/" Documentation/gocryptfs-xray.1  	install -Dm644 -t "$(DESTDIR)/usr/share/licenses/gocryptfs" LICENSE +.phony: uninstall +uninstall: +	rm -f "$(DESTDIR)/usr/bin/gocryptfs" +	rm -f "$(DESTDIR)/usr/bin/gocryptfs-xray" +	rm -f "$(DESTDIR)/usr/share/man/man1/gocryptfs.1" +	rm -f "$(DESTDIR)/usr/share/man/man1/gocryptfs-xray.1" +	rm -f "$(DESTDIR)/usr/share/licenses/gocryptfs/LICENSE" +  .phony: ci  ci:  	uname -a ; go version ; openssl version | 
