update rpm spec
This commit is contained in:
parent
49e581cd78
commit
cd27db5afe
2 changed files with 26 additions and 10 deletions
5
Makefile
5
Makefile
|
|
@ -2,6 +2,7 @@ PYTHON_SITE_PACKAGES := $(shell python3 -c "import site; print(site.getsitepacka
|
|||
TARGET_DIR := $(DESTDIR)$(PYTHON_SITE_PACKAGES)/flatpost
|
||||
BIN_DIR := $(DESTDIR)/usr/bin
|
||||
DESKTOP_DIR := $(DESTDIR)/usr/share/applications
|
||||
MIME_DIR := $(DESTDIR)/usr/share/mime/packages
|
||||
DATA_DIR := $(DESTDIR)/usr/share/flatpost
|
||||
ICON_DIR := $(DESTDIR)/usr/share/icons/hicolor
|
||||
LICENSE_DIR := $(DESTDIR)/usr/share/licenses/flatpost
|
||||
|
|
@ -26,6 +27,10 @@ install:
|
|||
mkdir -p $(DESKTOP_DIR)
|
||||
install -m 644 data/usr/share/applications/com.flatpost.flatpostapp.desktop $(DESKTOP_DIR)/com.flatpost.flatpostapp.desktop
|
||||
|
||||
@echo "Installing MIME file to $(MIME_DIR)"
|
||||
mkdir -p $(MIME_DIR)
|
||||
install -m 644 data/usr/share/mime/packages/flatpost.xml $(MIME_DIR)/flatpost.xml
|
||||
|
||||
@echo "Installing data files to $(DATA_DIR)"
|
||||
mkdir -p $(DATA_DIR)
|
||||
install -m 644 data/usr/share/flatpost/collections_data.json $(DATA_DIR)/collections_data.json
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue