bqn-ibus/Makefile

24 lines
352 B
Makefile
Raw Normal View History

2022-01-09 19:26:49 -05:00
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)