mirror of
https://github.com/makew0rld/amfora.git
synced 2024-09-27 23:05:55 -04:00
🔨 Create PREFIX dir if needed and use command vars
https://github.com/makeworld-the-better-one/gemget/issues/17#issuecomment-797795676
This commit is contained in:
parent
703e853834
commit
f9327c0a51
8
Makefile
8
Makefile
@ -21,8 +21,10 @@ clean:
|
|||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install: amfora amfora.desktop
|
install: amfora amfora.desktop
|
||||||
install -m 755 amfora $(PREFIX)/bin/amfora
|
$(INSTALL) -d $(PREFIX)/bin/
|
||||||
install -m 644 amfora.desktop $(PREFIX)/share/applications/amfora.desktop
|
$(INSTALL) -m 755 amfora $(PREFIX)/bin/amfora
|
||||||
|
$(INSTALL) -d $(PREFIX)/share/applications/
|
||||||
|
$(INSTALL) -m 644 amfora.desktop $(PREFIX)/share/applications/amfora.desktop
|
||||||
|
|
||||||
.PHONY: uninstall
|
.PHONY: uninstall
|
||||||
uninstall:
|
uninstall:
|
||||||
@ -32,4 +34,4 @@ uninstall:
|
|||||||
# Development helpers
|
# Development helpers
|
||||||
.PHONY: fmt
|
.PHONY: fmt
|
||||||
fmt:
|
fmt:
|
||||||
go fmt ./...
|
$(GO) fmt ./...
|
||||||
|
Loading…
Reference in New Issue
Block a user