aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkbdata.src/xkbrules.mak
blob: 67a0e55e742bb00d37fa029ef1a6a6c06a4e75c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
DIRFILE=$(THISDIR:%=$(DESTDIR)\..\%.dir)
all: $(DESTDIR) $(DATA_FILES) $(DIRFILE)

$(DESTDIR)\default: default
	copy $< $@

$(DESTDIR)\%: %
	copy $< $@

ifneq ($(DIRFILE),)
.PHONY: extrastuff

$(DIRFILE): extrastuff $(DATA_FILES)
	-del -e $@
	cd $(DESTDIR) & ..\..\xkbcomp.exe -lfhlpR -o $(relpath $@) *
endif