Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add minor visual improvements * Makefile fix * Even better Makefile * Change search hint
- Loading branch information
Showing
2 changed files
with
19 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,26 @@ | ||
default: build | ||
|
||
OS := $(shell uname) | ||
XDG_APPLICATION_PATH = ~/.local/share/applications | ||
XDG_ICON_PATH = ~/.local/share/icons/hicolor/scalable/apps | ||
|
||
build: | ||
git submodule init | ||
git submodule update | ||
go generate | ||
go build | ||
|
||
install: build | ||
go install | ||
ifeq ($(OS),Linux) | ||
cp gopass.desktop ~/.local/share/applications | ||
cp assets/logo.svg ~/.local/share/icons/hicolor/scalable/apps/gopass.svg | ||
mkdir -p $(XDG_APPLICATION_PATH) | ||
cp gopass.desktop $(XDG_APPLICATION_PATH) | ||
mkdir -p $(XDG_ICON_PATH) | ||
cp assets/logo.svg $(XDG_ICON_PATH)/gopass.svg | ||
endif | ||
|
||
setup: | ||
git submodule init | ||
git submodule update | ||
|
||
clean: | ||
rm qrc.go | ||
go clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters