Makefile: fix install for first time users
This commit is contained in:
parent
3093310a6c
commit
d4eced47c4
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
|
@ -1,5 +1,6 @@
|
|||
PACKAGE_NAME = cockpit-image-builder
|
||||
INSTALL_DIR = /share/cockpit/$(PACKAGE_NAME)
|
||||
INSTALL_DIR_BASE = /share/cockpit/
|
||||
INSTALL_DIR = $(INSTALL_DIR_BASE)$(PACKAGE_NAME)
|
||||
APPSTREAMFILE=org.image-builder.$(PACKAGE_NAME).metainfo.xml
|
||||
|
||||
VERSION := $(shell (cd "$(SRCDIR)" && grep "^Version:" cockpit/$(PACKAGE_NAME).spec | sed 's/[^[:digit:]]*\([[:digit:]]\+\).*/\1/'))
|
||||
|
|
@ -55,6 +56,7 @@ cockpit/devel-uninstall:
|
|||
cockpit/devel-install: PREFIX=~/.local
|
||||
cockpit/devel-install:
|
||||
PREFIX="~/.local"
|
||||
mkdir -p $(PREFIX)$(INSTALL_DIR_BASE)
|
||||
ln -s $(shell pwd)/cockpit/public $(PREFIX)$(INSTALL_DIR)
|
||||
|
||||
.PHONY: cockpit/download
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue