bqn-ibus/Makefile
2022-01-10 02:02:41 +01:00

23 lines
352 B
Makefile

PREFIX ?= /usr
DB := bqn.db
ICON := bqn.png
OUT := $(DB) $(ICON)
INSTALL := $(PREFIX)/share/ibus-table
%.db: %.txt
ibus-table-createdb -s $< -n $@
.PHONY: all
all: $(DB)
.PHONY: install
install: $(DB) $(ICON)
mkdir -p $(INSTALL)/tables $(INSTALL)/icons
cp $(DB) $(INSTALL)/tables
cp $(ICON) $(INSTALL)/icons
.PHONY: clean
clean:
rm -f $(DB)