sortix-mirror/kblayout/Makefile

30 lines
494 B
Makefile
Raw Normal View History

2014-05-05 22:17:11 +00:00
include ../build-aux/platform.mak
include ../build-aux/compiler.mak
include ../build-aux/version.mak
include ../build-aux/dirs.mak
KBLAYOUTDIR?=$(DATAROOTDIR)/kblayout
KBLAYOUT_COMPILER?=kblayout-compiler
LAYOUTS=\
2016-10-21 13:53:45 +00:00
de \
2014-05-05 22:17:11 +00:00
dk \
fi \
2017-02-05 14:24:22 +00:00
uk \
2014-05-05 22:17:11 +00:00
us \
.PHONY: all install clean
all: $(LAYOUTS)
%: %.kblayout
$(KBLAYOUT_COMPILER) --format=sortix-kblayout-1 --compression=none $< -o $@
install: all
mkdir -p $(DESTDIR)$(KBLAYOUTDIR)
cp $(LAYOUTS) $(DESTDIR)$(KBLAYOUTDIR)
clean:
rm -f $(LAYOUTS)