1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00
sortix--sortix/kblayout/Makefile

27 lines
479 B
Makefile
Raw Normal View History

2014-05-05 18:17:11 -04: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=\
dk \
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)