0.1.0 fixes
This commit is contained in:
8
Makefile
8
Makefile
@@ -32,6 +32,8 @@ DAEMON_HEADERS := $(wildcard $(DAEMON_DIR)/*.h) $(wildcard $(SHARED_DIR)/*.h)
|
||||
GUI_RES := build/gresources.c
|
||||
GUI_RES_SRC := data/icons.gresource.xml
|
||||
PREFIX ?= /usr/local
|
||||
DEB_VERSION ?= 0.1.0
|
||||
DEB_ARCH := $(shell dpkg --print-architecture 2>/dev/null || echo amd64)
|
||||
BINDIR := $(PREFIX)/bin
|
||||
LOCALEDIR := $(PREFIX)/share/locale
|
||||
ASSETS_DIR := $(PREFIX)/share/$(PACKAGE)/assets
|
||||
@@ -51,7 +53,7 @@ LANGS := $(patsubst po/%.po,%,$(PO_FILES))
|
||||
MO_FILES := $(patsubst %,locale/%/LC_MESSAGES/$(PACKAGE).mo,$(LANGS))
|
||||
I18N := $(CURDIR)/scripts/i18n.sh
|
||||
|
||||
.PHONY: all clean run install translations daemon pot i18n-check i18n-status
|
||||
.PHONY: all clean run install translations daemon pot i18n-check i18n-status deb
|
||||
|
||||
all: $(TARGET) translations $(DAEMON)
|
||||
|
||||
@@ -94,6 +96,10 @@ i18n-status:
|
||||
run: $(TARGET) translations
|
||||
GKEYMAPPER_LOCALEDIR=$(CURDIR)/locale GKEYMAPPER_ASSETS_DIR=$(CURDIR)/assets ./$(TARGET)
|
||||
|
||||
deb:
|
||||
$(CURDIR)/scripts/make-deb.sh $(DEB_VERSION) $(DEB_ARCH)
|
||||
|
||||
|
||||
clean:
|
||||
rm -f $(TARGET) $(DAEMON)
|
||||
rm -rf locale build
|
||||
|
||||
Reference in New Issue
Block a user